savannah-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-cvs] Rev 238: cvs_import.sh: support spaces in filenames in sf


From: root
Subject: [Savannah-cvs] Rev 238: cvs_import.sh: support spaces in filenames in sftp://address@hidden/srv/bzr/administration/
Date: Sat, 26 Jun 2010 13:33:36 -0400

At sftp://address@hidden/srv/bzr/administration/

------------------------------------------------------------
revno: 238
revision-id: address@hidden
parent: address@hidden
committer: root <address@hidden>
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_<address@hidden>_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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]