aboutsummaryrefslogtreecommitdiff
path: root/python/jsonpatch/jsonpatch.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/jsonpatch/jsonpatch.SlackBuild')
-rw-r--r--python/jsonpatch/jsonpatch.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/jsonpatch/jsonpatch.SlackBuild b/python/jsonpatch/jsonpatch.SlackBuild
index c4ecbda8aeac..d807c095cb75 100644
--- a/python/jsonpatch/jsonpatch.SlackBuild
+++ b/python/jsonpatch/jsonpatch.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=jsonpatch
VERSION=${VERSION:-1.25}
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}