aboutsummaryrefslogtreecommitdiff
path: root/patches/python/python.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'patches/python/python.SlackBuild')
-rwxr-xr-xpatches/python/python.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/patches/python/python.SlackBuild b/patches/python/python.SlackBuild
index 9eb1f62c..94aa49bf 100755
--- a/patches/python/python.SlackBuild
+++ b/patches/python/python.SlackBuild
@@ -19,14 +19,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
-
PACKAGE="python"
VERSION=${VERSION:=2.4.4}
ARCH=${ARCH:=i486}