Changeset 4b3cfbf in git


Ignore:
Timestamp:
2012-10-31T13:59:46Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
2b1265a
Parents:
396bf66
Message:

fix build inside build dir for devel

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/run

    rffaabee r4b3cfbf  
    142142*-*)
    143143    # in build dir, starts from src dir
    144     dirs="$basename"
     144    dirs="${basename#*-}"
    145145    xcachesrcdir=../${basename%%-*}
    146146    cd $xcachesrcdir
     
    301301
    302302    # pick sapi {{{1
    303     case "$basename" in
     303    case "$phpbasename" in
    304304    *-apache1*)
    305305        cmd=($HOME/apache1/bin/httpd -X)
     
    351351
    352352for phpbasename in "${dirs[@]}"; do
    353     mkdir -p ../${basename}-${phpbasename}
    354     cd ../${basename}-${phpbasename} || exit
     353    mkdir -p ${xcachesrcdir}-${phpbasename}
     354    cd ${xcachesrcdir}-${phpbasename} || exit
    355355    lndir ${xcachesrcdir} >/dev/null || true
    356356
Note: See TracChangeset for help on using the changeset viewer.