aboutsummaryrefslogtreecommitdiff
path: root/openldap/openldap.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'openldap/openldap.SlackBuild')
-rwxr-xr-xopenldap/openldap.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/openldap/openldap.SlackBuild b/openldap/openldap.SlackBuild
index a3fc4ab0..076be0a3 100755
--- a/openldap/openldap.SlackBuild
+++ b/openldap/openldap.SlackBuild
@@ -5,6 +5,14 @@
CWD="`pwd`"
+if [ -f "/etc/slackbuildrc" ]; then
+ source /etc/slackbuildrc
+fi
+
+if [ -f "~/.slackbuildrc" ]; then
+ source ~/.slackbuildrc
+fi
+
# default settings
PACKAGE="openldap"
ARCH=${ARCH:=x86_64}
@@ -14,14 +22,6 @@ SRC_DIR=${SRC:=$CWD}
TMP=${TMP:=/tmp}
REPOS=${REPOS:=$TMP}
-if [ -f "/etc/slackbuildrc" ]; then
- source /etc/slackbuildrc
-fi
-
-if [ -f "~/.slackbuildrc" ]; then
- source ~/.slackbuildrc
-fi
-
if [ "$ARCH" == "x86_64" ]; then
LIBDIR=/usr/lib64
else