aboutsummaryrefslogtreecommitdiff
path: root/system/jshon/jshon.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/jshon/jshon.SlackBuild')
-rw-r--r--system/jshon/jshon.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/jshon/jshon.SlackBuild b/system/jshon/jshon.SlackBuild
index a2481ebbb6232..d68c68748ad0b 100644
--- a/system/jshon/jshon.SlackBuild
+++ b/system/jshon/jshon.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jshon
VERSION=${VERSION:-20131105}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ case "$( uname -m )" in
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}