From fc6b00203e75e21b101b8298681d3f6f7cfe3759 Mon Sep 17 00:00:00 2001 From: Marco Amadori Date: Thu, 26 Nov 2009 09:51:42 +0100 Subject: [PATCH] cpio snapshots: eval commands fix. --- bin/live-snapshot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}" ;; -- 2.1.4