Changeset 982 for trunk/devel/run
- Timestamp:
- 2012-07-17T10:35:45+02:00 (10 months ago)
- Location:
- trunk/devel
- Files:
-
- 1 added
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/devel/run
r980 r982 7 7 if echo $basename | grep -- - >/dev/null; then :; else 8 8 dirs=${dirs:-php5-debug} 9 9 10 for dir in $dirs; do 10 11 cd ../${basename}-${dir} || exit 12 13 rm -f php-src 14 find -L . -type l | xargs rm -f 15 lndir ../$basename >/dev/null 16 find . -iname .\*.swp | xargs rm -f 17 ln -sf ~/src/php/$dir php-src 18 for i in ~/src/php/$dir/sapi/cgi/php{,-cgi}; do 19 [[ -r $i ]] && ln -sf "$i" php-cgi 20 done 21 ln -sf ~/src/php/$dir/sapi/cli/php php-cli 22 11 23 pwd 12 24 $0 "$@" … … 14 26 exit 15 27 fi 28 phpbasename=${basename#*-} 29 xcachebasename=${basename%%-*} 16 30 17 31 if [[ ! -z $1 ]]; then … … 26 40 fi 27 41 28 if [[ $type = make ]]; then 42 case $type in 43 prepare) 44 exec ./devel/prepare.devel 45 ;; 46 tags) 47 exec ./devel/prepare.devel tags 48 ;; 49 rebuild) 50 PHPDIRS=${PHPDIRS:-$HOME/test} 51 if [[ ! -x $PHPDIRS/$phpbasename/bin/phpize ]]; then 52 echo $PHPDIRS/$phpbasename/bin/phpize not found 53 exit 54 fi 55 export PATH=$PHPDIRS/$phpbasename/bin:$PATH 56 phpize --clean \ 57 && phpize \ 58 && CFLAGS="-Wall -Wno-unused -W -Wshadow -std=gnu99" ./configure --enable-xcache-disassembler --enable-xcache-test --enable-xcache-constant \ 59 && make 60 exit 61 ;; 62 make) 29 63 MAKEARGS=("$@") 30 fi 64 ;; 65 esac 31 66 32 LANG=C /usr/bin/make $MAKEOPTS "${MAKEARGS[@]}" 2>&1 | hi error warn FAIL67 LANG=C /usr/bin/make $MAKEOPTS "${MAKEARGS[@]}" 2>&1 | hi error implicit warn FAIL 33 68 ret=${PIPESTATUS[0]} 34 69 if [[ $ret -ne 0 || $type = make ]]; then … … 75 110 ;; 76 111 dc) 77 exec ./php-cli -c php.ini ./ phpdc.phpr "${args[@]}" | tee decompiled.php112 exec ./php-cli -c php.ini ./bin/phpdc.phpr "${args[@]}" | tee decompiled.php 78 113 ;; 79 114 dop) 80 exec ./php-c gi -q -c php.ini ./phpdop.phpr "${args[@]}"115 exec ./php-cli -c php.ini ./bin/phpdop.phpr "${args[@]}" 81 116 ;; 82 117 retest)
Note: See TracChangeset
for help on using the changeset viewer.

