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

SF.net SVN: ledger-smb:[2907] addons/apply_addon.sh



Revision: 2907
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2907&view=rev
Author:   einhverfr
Date:     2010-02-24 18:03:26 +0000 (Wed, 24 Feb 2010)

Log Message:
-----------
Improved addon application script

Modified Paths:
--------------
    addons/apply_addon.sh

Modified: addons/apply_addon.sh
===================================================================
--- addons/apply_addon.sh	2010-02-24 04:51:59 UTC (rev 2906)
+++ addons/apply_addon.sh	2010-02-24 18:03:26 UTC (rev 2907)
@@ -10,6 +10,20 @@
    branch="tags/$2"
 fi
 
+for d in `
+        find addons/1.3/$1/$branch -type d | 
+             grep -v .svn | 
+             grep -v "^addons/1.3/$1/$branch$" |
+             sed -e "s|addons/1.3/$1/$branch/||"
+         `;
+do
+        if test -d $d; then
+            echo "skipping mkdir $d, exists"
+        else
+            mkdir $d;
+        fi
+done
+
 for a in `
         find addons/1.3/$1/$branch -type f | 
              grep -v .svn | 


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