Changeset 995 for trunk/devel/run


Ignore:
Timestamp:
2012-07-19T04:27:53+02:00 (3 years ago)
Author:
moo
Message:

more clean for rebuild

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/devel/run

    r988 r995  
    2020        cd ../${basename}-${dir} || exit
    2121
    22         rm -f php-src
    23         find -L . -type l | xargs rm -f
    24         lndir ../$basename >/dev/null
    25         find . -iname .\*.swp | xargs rm -f
    26         ln -sf ~/src/php/$dir php-src
    27         for i in ~/src/php/$dir/sapi/cgi/php{,-cgi}; do
    28             [[ -r $i ]] && ln -sf "$i" php-cgi
    29         done
    30         ln -sf ~/src/php/$dir/sapi/cli/php php-cli
    31 
    3222        pwd
    3323        $0 "$@"
     
    3525    exit
    3626fi
     27
    3728phpbasename=${basename#*-}
    3829xcachebasename=${basename%%-*}
     30xcachesrcdir=../$xcachebasename
     31
     32rm -f php-src
     33find -L . -type l | xargs rm -f
     34lndir "$xcachesrcdir" >/dev/null
     35find . -iname .\*.swp | xargs rm -f
     36ln -sf ~/src/php/$phpbasename php-src
     37for i in ~/src/php/$phpbasename/sapi/cgi/php{,-cgi}; do
     38    [[ -r $i ]] && ln -sf "$i" php-cgi
     39done
     40ln -sf ~/src/php/$phpbasename/sapi/cli/php php-cli
    3941
    4042if [[ ! -z $1 ]]; then
     
    5759    fi
    5860    export PATH=$PHPDIRS/$phpbasename/bin:$PATH
     61    [[ -r Makefile ]] && make xcachesvnclean
    5962    phpize --clean \
    6063    && phpize \
Note: See TracChangeset for help on using the changeset viewer.