aboutsummaryrefslogtreecommitdiff
path: root/network/ipfs-pack/ipfs-pack.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/ipfs-pack/ipfs-pack.SlackBuild')
-rw-r--r--network/ipfs-pack/ipfs-pack.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/ipfs-pack/ipfs-pack.SlackBuild b/network/ipfs-pack/ipfs-pack.SlackBuild
index 2c8e35cc64d9a..89d0da6b4e0a6 100644
--- a/network/ipfs-pack/ipfs-pack.SlackBuild
+++ b/network/ipfs-pack/ipfs-pack.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=ipfs-pack
VERSION=${VERSION:-0.6.0}
BUILD=${BUILD:-1}
@@ -41,7 +43,6 @@ case $ARCH in
*) IPFSARCH=$ARCH ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}