aboutsummaryrefslogtreecommitdiff
path: root/patches/sdl
diff options
context:
space:
mode:
Diffstat (limited to 'patches/sdl')
-rwxr-xr-xpatches/sdl/sdl.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/patches/sdl/sdl.SlackBuild b/patches/sdl/sdl.SlackBuild
index bf5cb1c1..cc280385 100755
--- a/patches/sdl/sdl.SlackBuild
+++ b/patches/sdl/sdl.SlackBuild
@@ -6,14 +6,12 @@
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="sdl"
VERSION=${VERSION:=1.2.11}
ARCH=${ARCH:=i486}