[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesdk/scripts
From:       Adrian Schroeter <adrian () suse ! de>
Date:       2005-02-08 13:20:08
Message-ID: 20050208132008.193901D23A () office ! kde ! org
[Download RAW message or body]

CVS commit by adrian: 

GNU find Version 4.2.7 does complain about too late add --maxdepth option


  M +2 -2      cvs2dist   1.16


--- kdesdk/scripts/cvs2dist  #1.15:1.16
@@ -350,5 +350,5 @@
         mkdir -p $temp_dist/doc/$name
         cp -Rf $module/doc/$name $temp_dist/doc
-        find $module/doc/ ! -xtype d -maxdepth 1 | xargs --replace={} cp {} $temp_dist/doc
+        find $module/doc/ -maxdepth 1 ! -xtype d | xargs --replace={} cp {} $temp_dist/doc
 
         if [ $doi18n = "yes" ]; then
@@ -436,5 +436,5 @@
 # and all files from the base dir, except directories
 echo "Copying over files from the module directory:" >> $log
-find $module ! -xtype d -maxdepth 1 | xargs --verbose --replace={} cp {} $temp_dist 2>> $log
+find $module -maxdepth 1 ! -xtype d | xargs --verbose --replace={} cp {} $temp_dist 2>> $log
 echo "--------" >> $log
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic