[banshee] [CollectionIndexer] Update the update-includes utility script



commit 14a45c9484a6ce41b1dce6c1c4c97abb93608a2f
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Tue Aug 24 21:31:58 2010 +0200

    [CollectionIndexer] Update the update-includes utility script
    
    Update the path to the Hyena files, and adapt for git.
    Subversion is so 2009 !

 src/Core/Banshee.CollectionIndexer/update-includes |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/Core/Banshee.CollectionIndexer/update-includes b/src/Core/Banshee.CollectionIndexer/update-includes
index 49520e5..1ba2cc2 100755
--- a/src/Core/Banshee.CollectionIndexer/update-includes
+++ b/src/Core/Banshee.CollectionIndexer/update-includes
@@ -3,9 +3,9 @@
 rm -f Hyena/* Banshee.Collection.Indexer/*
 
 INTERNALIZE_FILES="
-	../../Libraries/Hyena/Hyena/Log.cs
-	../../Libraries/Hyena/Hyena/ConsoleCrayon.cs
-	../../Libraries/Hyena/Hyena/DateTimeUtil.cs
+	../../Hyena/Hyena/Hyena/Log.cs
+	../../Hyena/Hyena/Hyena/ConsoleCrayon.cs
+	../../Hyena/Hyena/Hyena/DateTimeUtil.cs
 "
 
 for file in $INTERNALIZE_FILES; do
@@ -18,7 +18,7 @@ done
 grep -l "\[Interface.*org\.bansheeproject.CollectionIndexer" $(find ../Banshee.Services/Banshee.Collection.Indexer/ -maxdepth 1 -name *.cs  | grep -v IIndexerClient | xargs) | xargs -i% cp -a % Banshee.Collection.Indexer
 
 for dir in Hyena Banshee.Collection.Indexer; do 
-	svn status $dir | grep ^? | sed s,^?,, | xargs --no-run-if-empty svn add
-	svn status $dir | grep ^\\! | sed s,^\\!,, | xargs --no-run-if-empty svn remove
+	git status -s $dir | grep ^?? | sed s,^??,, | xargs --no-run-if-empty git add
+	git status -s $dir | grep '^ D' | sed s,'^ D',, | xargs --no-run-if-empty git rm
 done
 



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