- fakeroot -i fakeroot.log \
- sh -c 'find -not -name fakeroot.log -a -print0 | cpio -o -0 -c -H newc | gzip --best'
+ if [ -z "$files" ]; then
+ fakeroot -i fakeroot.log \
+ sh -c 'find -not -name fakeroot.log -a -print0 | cpio --quiet -o -0 -H newc'
+ else
+ fakeroot -i fakeroot.log \
+ sh -c 'cpio --quiet -o -H newc' < $files
+ fi
+else
+ if [ -z "$files" ]; then
+ find -not -name fakeroot.log -a -print0 | cpio --quiet -o -0 -H newc
+ else
+ cpio --quiet -o -H newc < $files
+ fi
+fi
+) | (
+if [ "$compress" = "yes" ]; then
+ gzip --best