From: Marco Amadori Date: Thu, 26 Nov 2009 08:51:42 +0000 (+0100) Subject: cpio snapshots: eval commands fix. X-Git-Tag: debian/2.0.15-1~240 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=fc6b00203e75e21b101b8298681d3f6f7cfe3759;p=live-boot-grml.git cpio snapshots: eval commands fix. --- diff --git a/bin/live-snapshot b/bin/live-snapshot index 18b067b..55673bb 100755 --- a/bin/live-snapshot +++ b/bin/live-snapshot @@ -443,10 +443,10 @@ Do_snapshot () grep -F -v -f "${EXCLUDE_LIST}" | \ tr '\n' '\0' | \ tr '\1' '\n' | \ - $COPY_CMD || exit 1 + eval $COPY_CMD || exit 1 else cat "${TMP_FILELIST}" | \ - $COPY_CMD || exit 1 + eval $COPY_CMD || exit 1 fi cd "${OLDPWD}" ;;