Windows build fix for checkouts with a space in the path
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Dec 2009 01:03:41 +0000 (01:03 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Dec 2009 01:03:41 +0000 (01:03 +0000)
* win/tools/scripts/auto-version.sh: Quote the output file's directory
before passing it to mkdir.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@51816 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitLibraries/ChangeLog
WebKitLibraries/win/tools/scripts/auto-version.sh

index a9ab276..a0f1cef 100644 (file)
@@ -1,3 +1,10 @@
+2009-12-07  Adam Roben  <aroben@apple.com>
+
+        Windows build fix for checkouts with a space in the path
+
+        * win/tools/scripts/auto-version.sh: Quote the output file's directory
+        before passing it to mkdir.
+
 2009-12-01  Alexey Proskuryakov  <ap@apple.com>
 
         Reviewed by Darin Adler.
index a67184f..c448db7 100755 (executable)
@@ -34,7 +34,7 @@ chomp()
 
 FALLBACK_VERSION_PATH=`cygpath -u "$WEBKITLIBRARIESDIR\\tools\\scripts\\VERSION"`
 OUTPUT_FILE=$(cygpath -u "$1")/include/autoversion.h
-mkdir -p $(dirname "$OUTPUT_FILE")
+mkdir -p "$(dirname "$OUTPUT_FILE")"
 
 # Take the initial version number from RC_PROJECTSOURCEVERSION if it
 # exists, otherwise fall back to the version number stored in the source.