Changeset e5ee2e6 in git


Ignore:
Timestamp:
2012-07-19T02:27:53Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
902fdb4
Parents:
dd89052
Message:

more clean for rebuild

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@995 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/run

    r28974db re5ee2e6  
    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.