Changeset 9695fa7 for BLFS


Ignore:
Timestamp:
08/10/2007 09:24:02 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
3aa2b81
Parents:
7c6c355
Message:

Failsafe tests to be sure that we are deleting an existing unpacked sources directory.
Thanks to Petr "Qaxi" Klíma for the report and patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/libs/scripts.xsl

    r7c6c355 r9695fa7  
    156156if [[ -e unpacked ]] ; then
    157157  UNPACKDIR=`head -n1 unpacked | sed 's@^./@@;s@/.*@@'`
    158   rm -rf $UNPACKDIR
     158  [[ -n $UNPACKDIR ]] && [[ -d $UNPACKDIR ]] && rm -rf $UNPACKDIR
    159159fi
    160160tar -xvf $PACKAGE > unpacked
Note: See TracChangeset for help on using the changeset viewer.