bugfix - properly handle relative path for target filename in current directory
This commit is contained in:
@@ -10,6 +10,4 @@ if [ "$1" = "-h" -o "$1" = "--help" -o "$2" = "" ]; then
|
||||
exit 2
|
||||
fi
|
||||
|
||||
cd "$1"
|
||||
|
||||
find . -print | cpio -o -H newc | xz -f --extreme --check=crc32 >"$2"
|
||||
(cd "$1"; find . -print | cpio -o -H newc) | xz -f --extreme --check=crc32 >"$2"
|
||||
|
||||
Reference in New Issue
Block a user