aboutsummaryrefslogtreecommitdiff
path: root/pyrex/Pyrex.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'pyrex/Pyrex.SlackBuild')
-rwxr-xr-xpyrex/Pyrex.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/pyrex/Pyrex.SlackBuild b/pyrex/Pyrex.SlackBuild
index 3da8174d..6da69b39 100755
--- a/pyrex/Pyrex.SlackBuild
+++ b/pyrex/Pyrex.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="Pyrex"
VERSION=${VERSION:=0.9.4.1}