sync-and-gyp script: fix to work in MSYS shell

NOTRY=true
TBR=scroggo@google.com

Review URL: https://codereview.chromium.org/1104613003
This commit is contained in:
halcanary 2015-04-24 14:33:06 -07:00 committed by Commit bot
parent 37a92b4437
commit 8440baa5d5

View File

@ -51,6 +51,6 @@ function gyp_hasher() {
GYP_HASH=$(gyp_hasher) GYP_HASH=$(gyp_hasher)
HASH_PATH="${SKIA_OUT}/gyp_hash" HASH_PATH="${SKIA_OUT}/gyp_hash"
if [ "$GYP_HASH" != "$(catifexists "$HASH_PATH")" ]; then if [ "$GYP_HASH" != "$(catifexists "$HASH_PATH")" ]; then
./gyp_skia || exit python ./gyp_skia || exit
echo "$GYP_HASH" > "$HASH_PATH" echo "$GYP_HASH" > "$HASH_PATH"
fi fi