summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2013-07-19 10:13:01 +0000
committerXuefer <xuefer@gmail.com>2013-07-19 10:13:01 +0000
commitf55cf8f36a05fc09509531c6580805bc174c4e93 (patch)
tree17d852a78020e7af030490e88bcbfaf0d1a211b7 /devel
parentef01ec91e89e77aa05646079e6aaffe698dca736 (diff)
downloadxcache-f55cf8f36a05fc09509531c6580805bc174c4e93.tar.gz
xcache-f55cf8f36a05fc09509531c6580805bc174c4e93.zip
devel: dont symlink non-existing file
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1337 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'devel')
-rwxr-xr-xdevel/run3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/run b/devel/run
index 1e56817..1e3fbd7 100755
--- a/devel/run
+++ b/devel/run
@@ -221,7 +221,8 @@ run() {
fi
done
ln -snf ~/src/php/$phpbasename/sapi/cli/php php-cli
- ln -snf ~/src/php/$phpbasename/sapi/fpm/php-fpm php-fpm
+ f=~/src/php/$phpbasename/sapi/cli/php; [ -f "$f" ] && ln -snf "$f" php-cli
+ f=~/src/php/$phpbasename/sapi/fpm/php-fpm; [ -f "$f" ] && ln -snf "$f" php-fpm
case "$1" in
phpize) do_phpize; return $?;;