Changeset 1159


Ignore:
Timestamp:
2012-10-31T14:59:46+01:00 (2 years ago)
Author:
moo
Message:

fix build inside build dir for devel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/devel/run

    r1141 r1159  
    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.