aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2013-04-15 22:26:05 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2013-04-15 22:26:05 +0400
commit51ac222870a1f695bb4662b5813f1f19311cc1c2 (patch)
treec035d03be5c78b5b6d405685ac498e97822fc96c
parentd485ffe250fa58da4bf7241b4b6a70ffc4a18a5d (diff)
downloadcibs-51ac222870a1f695bb4662b5813f1f19311cc1c2.tar.gz
Use quotes
-rwxr-xr-xscripts/make-payload6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/make-payload b/scripts/make-payload
index 62c3e34..84aba39 100755
--- a/scripts/make-payload
+++ b/scripts/make-payload
@@ -14,9 +14,9 @@ elif [ $# != 0 ]; then
usage
fi
-gfind * -type d -printf 'dir path=%p\n'
-gfind * -type f -printf "file $1/%p path=%p\n"
-gfind * -type l -printf 'link path=%p target=%l\n'
+gfind * -type d -printf 'dir path="%p"\n'
+gfind * -type f -printf "file $1/%p path=\"%p\"\n"
+gfind * -type l -printf 'link path="%p" target="%l"\n'
exit 0