untar
This commit is contained in:
parent
d1a7f4a085
commit
ff8e8ec03a
1 changed files with 2 additions and 3 deletions
|
@ -22,10 +22,9 @@ PREFIX=/usr
|
||||||
rm -fr $TMP/$PRGNAM-$VERSION
|
rm -fr $TMP/$PRGNAM-$VERSION
|
||||||
rm -fr $PKG
|
rm -fr $PKG
|
||||||
|
|
||||||
cd $TMP
|
|
||||||
#[ ! -e ${PRGNAM}_linux_$VERSION.tar.gz ] && wget -c ... #TODO
|
#[ ! -e ${PRGNAM}_linux_$VERSION.tar.gz ] && wget -c ... #TODO
|
||||||
tar xf $CWD/${PRGNAM}_linux_$VERSION.tar.gz
|
tar -C $TMP -xf $CWD/${PRGNAM}_linux_$VERSION.tar.gz
|
||||||
mv ${PRGNAM}_linux_$VERSION $PRGNAM-$VERSION
|
mv $TMP/${PRGNAM}_linux_$VERSION $TMP/$PRGNAM-$VERSION
|
||||||
|
|
||||||
# Preparation
|
# Preparation
|
||||||
( cd $TMP/$PRGNAM-$VERSION
|
( cd $TMP/$PRGNAM-$VERSION
|
||||||
|
|
Loading…
Add table
Reference in a new issue