aboutsummaryrefslogtreecommitdiff
path: root/development/jsmin/jsmin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/jsmin/jsmin.SlackBuild')
-rw-r--r--development/jsmin/jsmin.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/jsmin/jsmin.SlackBuild b/development/jsmin/jsmin.SlackBuild
index 8ad5749c481d..e8820850faed 100644
--- a/development/jsmin/jsmin.SlackBuild
+++ b/development/jsmin/jsmin.SlackBuild
@@ -22,6 +22,8 @@
# with this program (most likely, a file named COPYING). If not, see
# <https://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jsmin
SRCNAM=JSMin
VERSION=${VERSION:-20130329}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}