X-Git-Url: https://git.gag.com/?p=debian%2Ftar;a=blobdiff_plain;f=cleanup-script.sh;h=97a4b0fba05834d64e5ac2d5aba68607f0a35b97;hp=91c5ae374b2ffc4d5f85dbf7249d2036e4028558;hb=HEAD;hpb=ddd3fd45779cd3fa10f729ead42cce181fa4140c diff --git a/cleanup-script.sh b/cleanup-script.sh index 91c5ae37..97a4b0fb 100755 --- a/cleanup-script.sh +++ b/cleanup-script.sh @@ -5,7 +5,7 @@ # # preserve the man pages upstream has provided since 1.28 -tempfile=$(mktemp -p /tmp tar-doc.XXXXXXXX) +tmpfile=$(mktemp -p /tmp tar-doc.XXXXXXXX) tar cf $tmpfile doc/tar.1 doc/rmt.8 git rm -rf doc @@ -253,7 +253,7 @@ else ${echo} "x - failed to remove lock directory ${lock_dir}." exit 1 fi -tar cf $tmpfile doc/tar.1 doc/rmt.8 +tar xf $tmpfile doc/tar.1 doc/rmt.8 git add doc/Makefile doc/Makefile.in doc/README doc/tar.1 doc/rmt.8 exit 0