SF.net SVN: geany:[3003] trunk/scripts/svn-add.sh

ntrel at users.sourceforge.net ntrel at xxxxx
Fri Sep 26 12:12:23 UTC 2008


Revision: 3003
          http://geany.svn.sourceforge.net/geany/?rev=3003&view=rev
Author:   ntrel
Date:     2008-09-26 12:12:23 +0000 (Fri, 26 Sep 2008)

Log Message:
-----------
Support adding multiple files.

Modified Paths:
--------------
    trunk/scripts/svn-add.sh

Modified: trunk/scripts/svn-add.sh
===================================================================
--- trunk/scripts/svn-add.sh	2008-09-26 11:22:44 UTC (rev 3002)
+++ trunk/scripts/svn-add.sh	2008-09-26 12:12:23 UTC (rev 3003)
@@ -1,8 +1,8 @@
 #!/bin/sh
-FILE=$1
-if [ -n "$FILE" ]; then
-	svn add $FILE
-	svn propset svn:keywords 'Author Date Id Revision' $FILE
-	svn propset svn:eol-style native $FILE
+FILES=$*
+if [ -n "$FILES" ]; then
+	svn add $FILES
+	svn propset svn:keywords 'Author Date Id Revision' $FILES
+	svn propset svn:eol-style native $FILES
 fi
 echo '>>> Remember to update po/POTFILES.in (if necessary) <<<'


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



More information about the Commits mailing list