From 3ee72e46fc17a8fedf25186053547fd26db77ba0 Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Thu, 5 Jan 2017 00:15:41 +0100 Subject: [PATCH] using -f parameter to actually signal archive name --- mkstage4.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mkstage4.sh b/mkstage4.sh index 3d053b5..7fb3c4a 100755 --- a/mkstage4.sh +++ b/mkstage4.sh @@ -130,7 +130,7 @@ then fi # Generic tar options: -TAR_OPTIONS="-cjpP --ignore-failed-read -f" +TAR_OPTIONS="-cjpP --ignore-failed-read" # if not in quiet mode, this message will be displayed: if [ "$AGREE" != "yes" ] @@ -154,7 +154,7 @@ fi # start stage4 creation: if [ "$AGREE" == "yes" ] then - cd $TARGET && tar $TAR_OPTIONS $EXCLUDES $OPTIONS $STAGE4_FILENAME * + cd $TARGET && tar $TAR_OPTIONS $EXCLUDES $OPTIONS -f $STAGE4_FILENAME * fi exit 0