aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-01-10 13:04:56 -0500
committerDave Reisner <d@falconindy.com>2010-01-10 13:04:56 -0500
commit5f79e28746ea72f23b6b0d8d54a7711e1036f854 (patch)
treebd590c48f2c13c19aefda004f5b8a43dc4363f8e
parent1fa16e22c66beca32154acaf2d66cce66a1ad68b (diff)
downloadsquashfu-5f79e28746ea72f23b6b0d8d54a7711e1036f854.tar.gz
Quote backup destination in rsync call
-rwxr-xr-xsquashfu2
1 files changed, 1 insertions, 1 deletions
diff --git a/squashfu b/squashfu
index 7aa3346..fb1482a 100755
--- a/squashfu
+++ b/squashfu
@@ -158,7 +158,7 @@ run_rsync() {
debug " Options: ${RSYNC_OPTS[@]}"
debug " Includes: ${INCLUDES[@]}"
debug " Excludes: ${EXCLUDES[@]}"
- rsync ${RSYNC_OPTS[@]} ${INCLUDES[@]} ${EXCLUDES[@]} ${BKUP_ROOT}/rw
+ rsync ${RSYNC_OPTS[@]} ${INCLUDES[@]} ${EXCLUDES[@]} "${BKUP_ROOT}/rw"
}