summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/l/libsodium/libsodium.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/l/libsodium/libsodium.SlackBuild')
-rwxr-xr-xslackware64-current/source/l/libsodium/libsodium.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/slackware64-current/source/l/libsodium/libsodium.SlackBuild b/slackware64-current/source/l/libsodium/libsodium.SlackBuild
index 4117f17c3..566be154e 100755
--- a/slackware64-current/source/l/libsodium/libsodium.SlackBuild
+++ b/slackware64-current/source/l/libsodium/libsodium.SlackBuild
@@ -20,6 +20,7 @@
# 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)
PKGNAM=libsodium
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
@@ -58,7 +59,6 @@ else
LIBDIRSUFFIX=""
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM