Permalink
Browse files

Updated for ListSourceFilesInTarget emitting CWD-relative paths.

  • Loading branch information...
tjw committed May 12, 2011
1 parent da37d15 commit b4b6650dd2d3ac9181620338d73f9ca494b86733
Showing with 2 additions and 4 deletions.
  1. +2 −4 Scripts/BuildStringsFromTarget
@@ -1,6 +1,6 @@
#!/bin/zsh -euf
#
-# Copyright 2010 Omni Development, Inc. All rights reserved.
+# Copyright 2010-2011 Omni Development, Inc. All rights reserved.
#
# This software may only be used and reproduced according to the
# terms in the file OmniSourceLicense.html, which should be
@@ -37,9 +37,7 @@ if [ -d "$STRINGS_DIR" ]; then
fi
mkdir -p "$STRINGS_DIR"
-cd "$STRINGS_DIR"
-
-TMP_OUTPUT=English.lproj
+TMP_OUTPUT="$STRINGS_DIR"/English.lproj
mkdir "$TMP_OUTPUT"
if [ $#source_files -gt 0 ]; then

0 comments on commit b4b6650

Please sign in to comment.