[Swift-commit] r2565 - trunk/libexec

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Tue Feb 17 17:15:19 CST 2009


Author: benc
Date: 2009-02-17 17:15:17 -0600 (Tue, 17 Feb 2009)
New Revision: 2565

Modified:
   trunk/libexec/svn-revision
Log:
' instead of " in SVN version string generation was inhibiting substitution
of component name

Modified: trunk/libexec/svn-revision
===================================================================
--- trunk/libexec/svn-revision	2009-02-17 16:57:30 UTC (rev 2564)
+++ trunk/libexec/svn-revision	2009-02-17 23:15:17 UTC (rev 2565)
@@ -3,7 +3,7 @@
 hereversion() {
   if [ -d ".svn" ] && [ -x "$(which svn)" ]; then
     R=$(svn info | grep '^Revision' | sed "s/Revision: /$1-r/")
-    M=$(svn status | grep --invert-match '^\?' > /dev/null && echo '($1 modified locally)')
+    M=$(svn status | grep --invert-match '^\?' > /dev/null && echo "($1 modified locally)")
   elif [ -d ".git" ] && [ -x "$(which git)" ]; then
     R=$(git svn info | grep '^Revision' | sed "s/Revision: /$1-r/")
     if git status -a >/dev/null ; then




More information about the Swift-commit mailing list