aboutsummaryrefslogtreecommitdiff
path: root/libdc1394
diff options
context:
space:
mode:
Diffstat (limited to 'libdc1394')
-rwxr-xr-xlibdc1394/libdc1394.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/libdc1394/libdc1394.SlackBuild b/libdc1394/libdc1394.SlackBuild
index 7f8effd3..0cf6a716 100755
--- a/libdc1394/libdc1394.SlackBuild
+++ b/libdc1394/libdc1394.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="libdc1394"
ARCH=${ARCH:=i486}