# 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"
# 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