X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gettext-tools%2Fmisc%2Fadd-to-archive;h=ccc7f4676376cd1373959189e7a15b76135c37ac;hb=5d61132f836323aaf2879e04abc9d4056db248a2;hp=61b8da502e711212e3611680b677e7141d409fa4;hpb=90a3363ce7c017439e9953fd5e832fbef8db0dd5;p=platform%2Fupstream%2Fgettext.git diff --git a/gettext-tools/misc/add-to-archive b/gettext-tools/misc/add-to-archive index 61b8da5..ccc7f46 100755 --- a/gettext-tools/misc/add-to-archive +++ b/gettext-tools/misc/add-to-archive @@ -18,7 +18,7 @@ # Usage: add-to-archive /somewhere/gettext-0.xx.yy.tar.gz # Adds the infrastructure files for gettext version 0.xx.yy to the reposutory -# in the archive.dir.tar.gz file. +# in the archive.dir.tar file. if test $# != 1; then echo "Usage: add-to-archive /somewhere/gettext-0.xx.yy.tar.gz" @@ -87,10 +87,10 @@ work_archive=`pwd`/"$work_dir/archive" # Add the contents of this directory to the repository. mkdir autopoint-files -(cd autopoint-files && tar xfz ../archive.dir.tar.gz) +(cd autopoint-files && tar xf ../archive.dir.tar) mkdir autopoint-files/$pack_ver (cd "$work_archive" && tar cf - .) | (cd autopoint-files/$pack_ver && tar xf -) -(cd autopoint-files && tar cfz ../archive.dir.tar.gz --owner=root --group=root *) +(cd autopoint-files && tar cf ../archive.dir.tar --owner=root --group=root *) # Clean up. rm -rf autopoint-files