Changeset 2641

Show
Ignore:
Timestamp:
12/05/07 01:51:04 (1 year ago)
Author:
dhozac
Message:

Work with newer versions of debootstrap too.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/scripts/vserver-build.debootstrap

    r2574 r2641  
    9696        ar x "$dst" 
    9797        tar xzf data.tar.gz 
    98         export DEBOOTSTRAP_DIR=`pwd`/usr/lib/debootstrap 
     98        DEBOOTSTRAP_DIR=`pwd`/usr/lib/debootstrap 
    9999        DEBOOTSTRAP=`pwd`/usr/sbin/debootstrap 
     100        test -d "$DEBOOTSTRAP_DIR" || DEBOOTSTRAP_DIR=`pwd`/usr/share/debootstrap 
     101        export DEBOOTSTRAP_DIR 
    100102 
    101103        local arch