summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Amadori <amadorim@vdavda.com>2009-11-26 09:51:42 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:07 +0100
commitfc6b00203e75e21b101b8298681d3f6f7cfe3759 (patch)
tree59113876eadb633792eeadabd7b74f8308a1ec05
parent77d2a350cab73c2764cf7f226c8f635ac4138fd4 (diff)
downloadlive-boot-fc6b00203e75e21b101b8298681d3f6f7cfe3759.tar.gz
live-boot-fc6b00203e75e21b101b8298681d3f6f7cfe3759.zip
cpio snapshots: eval commands fix.
-rwxr-xr-xbin/live-snapshot4
1 files 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}"
;;