From 27936e74a1e08396362e770c847b1fdde49f5929 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Mon, 22 Oct 2012 14:43:25 +0200 Subject: bash/bin/copy: fix escaping --- bashrc/bin/copy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc/bin/copy b/bashrc/bin/copy index 80ab385..68d10ca 100755 --- a/bashrc/bin/copy +++ b/bashrc/bin/copy @@ -8,7 +8,7 @@ if [[ -z "$1" ]] ; then fi # encode files suitable for copy&paste into other terminals -STR=$(tar cjf - $@ | base64; exit $PIPESTATUS) || exit $? +STR=$(tar cjf - "$@" | base64; exit $PIPESTATUS) || exit $? echo "cat << E=O=F | base64 -d | tar xj" echo "$STR" echo "E=O=F" -- cgit v1.2.3