bugfix - properly handle relative path for target filename in current directory
parent
8971fdb6ca
commit
1e3fdc1a8b
|
|
@ -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"
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue