From 5e51020b4e3f2b75f3d48b1261b7a7e624661fe1 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 31 Mar 2011 04:07:55 +0200 Subject: OpenBSD compatibility fixes --- bashrc/bin/copy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bashrc/bin') diff --git a/bashrc/bin/copy b/bashrc/bin/copy index 1d106ca..80ab385 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 cj $@ | 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