[csw-devel] SF.net SVN: opencsw:[549] gar-wrapper

skayser at users.sourceforge.net skayser at users.sourceforge.net
Sat Sep 24 12:25:34 CEST 2011


Revision: 549
          http://opencsw.svn.sourceforge.net/opencsw/?rev=549&view=rev
Author:   skayser
Date:     2011-09-24 10:25:33 +0000 (Sat, 24 Sep 2011)
Log Message:
-----------
mgar: fix init-existing's gar symlink removal

Modified Paths:
--------------
    gar-wrapper/CHANGES
    gar-wrapper/mgar

Modified: gar-wrapper/CHANGES
===================================================================
--- gar-wrapper/CHANGES	2011-09-24 08:23:53 UTC (rev 548)
+++ gar-wrapper/CHANGES	2011-09-24 10:25:33 UTC (rev 549)
@@ -5,6 +5,7 @@
 * DROP command "scm", typing "svn <sth>" is shorter than "mgar scm <sth>"
 * CHANGE "locate" command output now sorted
 * FIX "index" now properly encodes file paths with special signs (e.g. '+')
+* FIX "init-existing" now properly removes obsolete gar/ symlinks
 
 Changes with 0.93 (r543):
 * NEW command "show-var" to show runtime value of recipe vars (Maciej Blizinski)

Modified: gar-wrapper/mgar
===================================================================
--- gar-wrapper/mgar	2011-09-24 08:23:53 UTC (rev 548)
+++ gar-wrapper/mgar	2011-09-24 10:25:33 UTC (rev 549)
@@ -266,7 +266,7 @@
   echo "Removing gar symlinks from $__buildtree (takes some time)"
   find $__buildtree \
     -name work -prune -o -name cookies -prune -o \
-    -type s -name gar | grep /gar$ | gxargs -r rm
+    -name gar -type -l -print |  gxargs -r rm
 
   echo "Registering $__buildtree in ~/.garrc"
   register_buildtree "$__buildtree"

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list