At sftp://[email protected]/srv/bzr/administration/

------------------------------------------------------------
revno: 238
revision-id: [email protected]
parent: [email protected]
committer: root <[email protected]>
branch nick: infra
timestamp: Sat 2010-06-26 13:33:34 -0400
message:
  cvs_import.sh: support spaces in filenames
modified:
  cvs/cvs_import.sh              
x_root_<[email protected]>_Sat_Apr__1_07:58:35_2006_18356.0
=== modified file 'cvs/cvs_import.sh'
--- a/cvs/cvs_import.sh 2008-03-03 13:39:13 +0000
+++ b/cvs/cvs_import.sh 2010-06-26 17:33:34 +0000
@@ -118,7 +118,7 @@
 
 # Takes care of dot files and keeps permission
 # $module can be empty
-mv `ls -A` $dest
+find -maxdepth 1 -mindepth 1 -print0 | xargs -0 -n1 -I{} mv {} $dest
 
 echo "Repository imported to $dest:"
 ls -lAh $dest


_______________________________________________
Savannah-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/savannah-cvs

Reply via email to