scripts/lib.sh
changeset 11 8e5fce1229b6
parent 10 2535c16e07a3
child 15 e3893b949972
--- a/scripts/lib.sh	Thu Jan 05 14:58:57 2012 +0200
+++ b/scripts/lib.sh	Thu Jan 05 15:05:38 2012 +0200
@@ -107,7 +107,7 @@
     cmd sudo mount -o loop $iso $mnt || cleanup 1
 
     # copy
-    cmd cp -r $mnt $dst || cleanup 1
+    cmd cp -rd $mnt $dst || cleanup 1
 
     # done, cleanup
     cleanup 0