From c2bfc7d4ff2cf7b14ae2c7f4c96e37730a2ec262 Mon Sep 17 00:00:00 2001 From: Xuefer Date: Mon, 25 Mar 2013 06:11:01 +0000 Subject: [PATCH] fix php-src for running test git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1233 c26eb9a1-5813-0410-bd6c-c2e55f420ca7 --- devel/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devel/run b/devel/run index 3ddf289..c9b490b 100755 --- a/devel/run +++ b/devel/run @@ -218,7 +218,7 @@ run() { find -L . -type l -print0 | xargs -0 rm -fv lndir "$xcachesrcdir" >/dev/null || true find . -iname .\*.swp -print0 | xargs -0 rm -f - ln -snf ~/src/php/$phpbasename php-src + ln -snf ~/src/php/${phpbasename%%-*} php-src for i in ~/src/php/$phpbasename/sapi/cgi/php{,-cgi}; do if [[ -r $i ]]; then ln -snf "$i" php-cgi