Ported r3446 from trunk.
This commit is contained in:
parent
fcfde5afc2
commit
6f8b2a1991
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ cd xc
</xsl:text>
|
||||||
<xsl:text>
|
<xsl:text>
|
||||||
if [[ -e unpacked ]] ; then
|
if [[ -e unpacked ]] ; then
|
||||||
UNPACKDIR=`head -n1 unpacked | sed 's@^./@@;s@/.*@@'`
|
UNPACKDIR=`head -n1 unpacked | sed 's@^./@@;s@/.*@@'`
|
||||||
[[ -n $UNPACKDIR ]] && [[ -d $UNPACKDIR ]] && rm -rf $UNPACKDIR
|
[[ -n $UNPACKDIR ]] && [[ -d $UNPACKDIR ]] && rm -rf $UNPACKDIR
|
||||||
fi
|
fi
|
||||||
tar -xvf $PACKAGE > unpacked
|
tar -xvf $PACKAGE > unpacked
|
||||||
UNPACKDIR=`head -n1 unpacked | sed 's@^./@@;s@/.*@@'`
|
UNPACKDIR=`head -n1 unpacked | sed 's@^./@@;s@/.*@@'`
|
||||||
|
|
Reference in a new issue