X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive;h=d35fb0814c758d48699e6d5e96b17a7362f74a56;hb=b1e77d7bb3bf329a929296afc8f285e178f65370;hp=5b5a3b95eda8018ce556238344aaf737d9d01825;hpb=99a3dc05824d23cbc684f3af43172f31af17bb8d;p=live-boot-grml.git diff --git a/scripts/live b/scripts/live index 5b5a3b9..d35fb08 100755 --- a/scripts/live +++ b/scripts/live @@ -992,9 +992,9 @@ try_snap () cpioargs='--unconditional --make-directories' fi - if ! (cd "${snap_mount}" && zcat "${snapback}/${snapfile}" | cpio $cpioargs --extract --preserve-modification-time --no-absolute-filenames --sparse 2>/dev/null) + if ! (cd "${snap_mount}" && zcat "${snapback}/${snapfile}" | $cpiopath $cpioargs --extract --preserve-modification-time --no-absolute-filenames --sparse 2>/dev/null) then - log_warning_msg "failure to \"zcat ${snapback}/${snapfile} | cpio $cpioargs --extract --preserve-modification-time --no-absolute-filenames --sparse\"" + log_warning_msg "failure to \"zcat ${snapback}/${snapfile} | $cpiopath $cpioargs --extract --preserve-modification-time --no-absolute-filenames --sparse\"" fi fi