aboutsummaryrefslogtreecommitdiff
path: root/development/leiningen/leiningen.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/leiningen/leiningen.SlackBuild')
-rw-r--r--development/leiningen/leiningen.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/development/leiningen/leiningen.SlackBuild b/development/leiningen/leiningen.SlackBuild
index 34c798c731955..e12944b0765b6 100644
--- a/development/leiningen/leiningen.SlackBuild
+++ b/development/leiningen/leiningen.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2011 Jockey S. Kyd, Shanghai, CHN
+# Copyright 2014 Ryan P.C. McQuen (ryan.q@linux.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,7 +21,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=leiningen
-VERSION=1.6.1.1
+VERSION=${VERSION:-2.3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,7 +39,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
# check whether the 'lein' shell script's version matches VERSION above
-eval $(grep ^LEIN_VERSION $CWD/lein)
+eval $(grep ^export\ LEIN_VERSION $CWD/lein)
if [ "$LEIN_VERSION" != "$VERSION" ]; then
printf "lein is not of version %s.\n" $VERSION 1>&2
exit 1