Changeset 1120 for trunk/devel/run
- Timestamp:
- 08/04/2012 04:32:05 AM (10 months ago)
- Files:
-
- 1 modified
-
trunk/devel/run (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/devel/run
r1119 r1120 17 17 . devel/run.cfg 18 18 if [[ $# -gt 0 ]]; then 19 type=$119 action=$1 20 20 shift 21 21 if [[ $# -gt 0 ]]; then 22 22 args=("$@") 23 elif [[ $ type= "make" ]]; then23 elif [[ $action = "make" ]]; then 24 24 args=() 25 25 fi 26 26 fi 27 27 28 case "$ type" in28 case "$action" in 29 29 prep*) 30 30 exec $MAKE -f devel/prepare.mak "${args[@]}" 31 31 ;; 32 32 po2php) 33 ./run mergepo 33 ./run mergepo "${args[0]}" 34 34 find htdocs -iname '*.po' | while read -r i; do 35 35 phpfile=${i/.po/.php} … … 40 40 ;; 41 41 mergepo) 42 ./run prep 42 ./run prep "${args[0]}" 43 43 find htdocs -iname '*.po' | while read -r i; do 44 44 if [[ -f $i-merged ]]; then … … 127 127 128 128 pwd 129 $0 "$ type" "${args[@]}"129 $0 "$action" "${args[@]}" 130 130 done 131 131 exit … … 137 137 pidfile=../$xcachebasename/devel.pid 138 138 139 case "$ type" in139 case "$action" in 140 140 phpize) 141 141 if [[ -r Makefile ]]; then … … 146 146 147 147 rm -f php-src 148 find -L . - typel | xargs rm -fv148 find -L . -action l | xargs rm -fv 149 149 lndir "$xcachesrcdir" >/dev/null || true 150 150 find . -iname .\*.swp | xargs rm -f … … 158 158 ln -sf ~/src/php/$phpbasename/sapi/fpm/php-fpm php-fpm 159 159 160 case "$ type" in160 case "$action" in 161 161 phpize) 162 162 PHPDIRS=${PHPDIRS:-$HOME/test} … … 192 192 | hi error implicit warn FAIL 193 193 ret=${PIPESTATUS[0]} 194 if [[ $ret -ne 0 || $ type= make ]]; then194 if [[ $ret -ne 0 || $action = make ]]; then 195 195 exit $ret 196 196 fi … … 228 228 esac 229 229 230 case "$ type" in230 case "$action" in 231 231 ltr*) 232 232 export USE_ZEND_ALLOC=0

