aboutsummaryrefslogtreecommitdiff
path: root/wxwidgets/wxWidgets.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'wxwidgets/wxWidgets.SlackBuild')
-rwxr-xr-xwxwidgets/wxWidgets.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/wxwidgets/wxWidgets.SlackBuild b/wxwidgets/wxWidgets.SlackBuild
index 86e0322a..593b4664 100755
--- a/wxwidgets/wxWidgets.SlackBuild
+++ b/wxwidgets/wxWidgets.SlackBuild
@@ -18,14 +18,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="wxWidgets"
ARCH=${ARCH:=i486}