aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsqlite/sqlite.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/sqlite/sqlite.SlackBuild b/sqlite/sqlite.SlackBuild
index fa372ecb..0786c99d 100755
--- a/sqlite/sqlite.SlackBuild
+++ b/sqlite/sqlite.SlackBuild
@@ -18,14 +18,12 @@ fi
CWD="`pwd`"
-if [ -f "/etc/slackbuildrc" ]; then
+if [ -f ~/.slackbuildrc ]; then
+ source /root/.slackbuildrc
+elif [ -f /etc/slackbuildrc ]; then
source /etc/slackbuildrc
fi
-if [ -f "~/.slackbuildrc" ]; then
- source ~/.slackbuildrc
-fi
-
# default settings
PACKAGE="sqlite"
ARCH=${ARCH:=i486}