aboutsummaryrefslogtreecommitdiff
path: root/network/go-ipfs/go-ipfs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/go-ipfs/go-ipfs.SlackBuild')
-rw-r--r--network/go-ipfs/go-ipfs.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/go-ipfs/go-ipfs.SlackBuild b/network/go-ipfs/go-ipfs.SlackBuild
index 4bb6872369630..67579f1df5e71 100644
--- a/network/go-ipfs/go-ipfs.SlackBuild
+++ b/network/go-ipfs/go-ipfs.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=go-ipfs
VERSION=${VERSION:-0.4.23}
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}