aboutsummaryrefslogtreecommitdiff
path: root/libraries/libfastjson/libfastjson.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libfastjson/libfastjson.SlackBuild')
-rw-r--r--libraries/libfastjson/libfastjson.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libfastjson/libfastjson.SlackBuild b/libraries/libfastjson/libfastjson.SlackBuild
index 9aa388f8afcf6..34d1e6bf0fe09 100644
--- a/libraries/libfastjson/libfastjson.SlackBuild
+++ b/libraries/libfastjson/libfastjson.SlackBuild
@@ -21,6 +21,8 @@
# (INCLUDING NEGLIGENCE OR 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=libfastjson
VERSION=${VERSION:-0.99.9}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}