aboutsummaryrefslogtreecommitdiff
path: root/scons
diff options
context:
space:
mode:
Diffstat (limited to 'scons')
-rwxr-xr-xscons/scons.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/scons/scons.SlackBuild b/scons/scons.SlackBuild
index 28d9d6fe..7c3384f7 100755
--- a/scons/scons.SlackBuild
+++ b/scons/scons.SlackBuild
@@ -17,14 +17,12 @@ fi
CWD="`pwd`"
-if [ -f "/etc/slackbuildrc" ]; then
+if [ -f ~/.slackbuildrc ]; then
+ source ~/.slackbuildrc
+elif [ -f /etc/slackbuildrc ]; then
source /etc/slackbuildrc
fi
-if [ -f "/root/.slackbuildrc" ]; then
- source /root/.slackbuildrc
-fi
-
# default settings
PACKAGE="scons"
VERSION=${VERSION:=0.96.1}