aboutsummaryrefslogtreecommitdiff
path: root/patches/php
diff options
context:
space:
mode:
authorrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>2006-11-15 17:18:39 +0000
committerrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>2006-11-15 17:18:39 +0000
commit9c3e267dd404d0827f6a20a9940b89aa9234eeb6 (patch)
tree461a7b833f506b74b2f2d3ba23334303d6fb03da /patches/php
parent3a61615b70c5c5c1848102465c931a7fe498e11d (diff)
downloadslackbuilds-9c3e267dd404d0827f6a20a9940b89aa9234eeb6.tar.gz
slackbuilds-9c3e267dd404d0827f6a20a9940b89aa9234eeb6.tar.bz2
os ~/.slackbuilds
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@645 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'patches/php')
-rwxr-xr-xpatches/php/php-pgsql.SlackBuild8
-rwxr-xr-xpatches/php/php.SlackBuild8
-rwxr-xr-xpatches/php/php4-snapshot.SlackBuild8
3 files changed, 9 insertions, 15 deletions
diff --git a/patches/php/php-pgsql.SlackBuild b/patches/php/php-pgsql.SlackBuild
index 04dfeb23..fdbaef10 100755
--- a/patches/php/php-pgsql.SlackBuild
+++ b/patches/php/php-pgsql.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"
PACKAGE_NAME="php-pgsql" # this is beacuse we're build with pgsql support
VERSION=${VERSION:=4.4.4}
diff --git a/patches/php/php.SlackBuild b/patches/php/php.SlackBuild
index 816f25d2..ed96c4ab 100755
--- a/patches/php/php.SlackBuild
+++ b/patches/php/php.SlackBuild
@@ -21,14 +21,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}
PINE=${PINE:=4.64}
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}