bugfix - properly handle relative path for target filename in current directory

pull/63/head
TomasM 2018-10-11 04:32:09 -05:00
parent 8971fdb6ca
commit 1e3fdc1a8b
1 changed files with 1 additions and 3 deletions

View File

@ -10,6 +10,4 @@ if [ "$1" = "-h" -o "$1" = "--help" -o "$2" = "" ]; then
exit 2 exit 2
fi fi
cd "$1" (cd "$1"; find . -print | cpio -o -H newc) | xz -f --extreme --check=crc32 >"$2"
find . -print | cpio -o -H newc | xz -f --extreme --check=crc32 >"$2"