From 87c580f819cfeecad5257132ffcfec349d0bf8cf Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 19 Dec 2012 22:44:49 -0500 Subject: [PATCH] fix deep-cp bug --- bin/utils | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/utils b/bin/utils index 5375b99..6374cd3 100755 --- a/bin/utils +++ b/bin/utils @@ -37,6 +37,7 @@ function set-default-env (){ # Does some serious copying. function deep-cp (){ find -H $1 -maxdepth 1 -name '.*' -a \( -type d -o -type f -o -type l \) -exec cp -a '{}' $2 \; + cp -r $1/* $2 echo copying $1 to $2 }