aboutsummaryrefslogtreecommitdiff
path: root/libraries/libscrypt
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libscrypt')
-rw-r--r--libraries/libscrypt/libscrypt.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libscrypt/libscrypt.SlackBuild b/libraries/libscrypt/libscrypt.SlackBuild
index 6bfba121ccc02..e3bbf0412fabd 100644
--- a/libraries/libscrypt/libscrypt.SlackBuild
+++ b/libraries/libscrypt/libscrypt.SlackBuild
@@ -23,6 +23,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=libscrypt
VERSION=${VERSION:-1.20}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}