Changeset 5908 in /cluster/svnroot


Ignore:
Timestamp:
Feb 26, 2017 2:39:49 PM (4 years ago)
Author:
skylar
Message:

test for both tar balls in prepare_debootstrap re #997

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/skylar/bccd-3.4.0-build_ng/bin/prepare_debootstrap

    r5905 r5908  
    1313
    1414DBS_DIR="${WORKSPACE}/debootstrap"
    15 DBS_TAR="${WORKSPACE}/target/debootstrap-bccd.tar.bz2"
     15DBS_BCCD_TAR="${WORKSPACE}/target/debootstrap-bccd.tar.bz2"
     16DBS_TAR="${WORKSPACE}/target/debootstrap.tar.bz2"
    1617
    1718if [[ ! -d "${DBS_DIR}" ]]; then
     
    2627        "${DBS_DIR}" \
    2728        http://debmirror.cluster.earlham.edu
     29elif [[ -r "${DBS_BCCD_TAR}" ]]; then
     30    nice pbzip2 -dc "${DBS_BCCD_TAR}" | tar -C "${WORKSPACE}" -xf -
    2831elif [[ -r "${DBS_TAR}" ]]; then
    2932    nice pbzip2 -dc "${DBS_TAR}" | tar -C "${WORKSPACE}" -xf -
Note: See TracChangeset for help on using the changeset viewer.