aboutsummaryrefslogtreecommitdiff
path: root/patches/php/php4-snapshot.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'patches/php/php4-snapshot.SlackBuild')
-rwxr-xr-xpatches/php/php4-snapshot.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/patches/php/php4-snapshot.SlackBuild b/patches/php/php4-snapshot.SlackBuild
index cfd1f06f..1f4f8de6 100755
--- a/patches/php/php4-snapshot.SlackBuild
+++ b/patches/php/php4-snapshot.SlackBuild
@@ -22,14 +22,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="php"
VERSION=${VERSION:=4.4.4}
SNAP_VERSION=${SNAP_VERSION:=200611041530}