Revision | 343842e1d73bcbaf127f56fa5967acf5f6b16efc (tree) |
---|---|
Time | 2012-03-06 22:13:45 |
Author | matsuand <matsuand@user...> |
Commiter | matsuand |
[BLFS] Modified _extract.sh.
@@ -1,7 +1,13 @@ | ||
1 | +FILE=$DLD/$TARGETBALL | |
2 | + | |
3 | +if test "$1" != ""; then | |
4 | + FILE=$1 | |
5 | +fi | |
6 | + | |
1 | 7 | echo \ \ Extracting sources... |
2 | -if ! test -f $DLD/$TARGETBALL; then | |
3 | - echo \ \ Tarball not found: $TARGETBALL && exit 1 | |
8 | +if test ! -f $FILE; then | |
9 | + echo \ \ Tarball not found: $FILE && exit 1 | |
4 | 10 | else |
5 | - tar xf $DLD/$TARGETBALL | |
11 | + tar xf $FILE | |
6 | 12 | fi |
7 | 13 |