aboutsummaryrefslogtreecommitdiff
path: root/src/createpkg
diff options
context:
space:
mode:
Diffstat (limited to 'src/createpkg')
-rw-r--r--src/createpkg6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/createpkg b/src/createpkg
index 76e293c..75a7f7f 100644
--- a/src/createpkg
+++ b/src/createpkg
@@ -32,7 +32,11 @@
#
COMMON="/usr/libexec/simplepkg/common.sh"
-SLACKBUILDRC="/etc/slackbuildrc"
+if [ -f ~/.slackbuildrc ]; then
+ SLACKBUILDRC=~/.slackbuildrc
+else
+ SLACKBUILDRC=/etc/slackbuildrc
+fi
# first load simplepkg helper functions
if [ -f "$COMMON" ]; then