summaryrefslogtreecommitdiff
path: root/sync.sh
diff options
context:
space:
mode:
authorSteve MacLean <stmaclea@microsoft.com>2019-02-27 16:53:08 -0500
committerGitHub <noreply@github.com>2019-02-27 16:53:08 -0500
commite7289a7c8f9c1fcc9d6fa4c9d4954cdbf5ba4acc (patch)
treea1648bd5abeb5faaf5c9cb48ece723602a82064a /sync.sh
parent95207c60d472047aeb1688d04f23b77216aafeae (diff)
downloadcoreclr-e7289a7c8f9c1fcc9d6fa4c9d4954cdbf5ba4acc.tar.gz
coreclr-e7289a7c8f9c1fcc9d6fa4c9d4954cdbf5ba4acc.tar.bz2
coreclr-e7289a7c8f9c1fcc9d6fa4c9d4954cdbf5ba4acc.zip
Fix sync.sh syntax error (#22883)
Diffstat (limited to 'sync.sh')
-rwxr-xr-xsync.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sync.sh b/sync.sh
index 3421c6203b..c5cd9fe93b 100755
--- a/sync.sh
+++ b/sync.sh
@@ -15,9 +15,9 @@ unprocessedBuildArgs=
# Parse arguments
# Assume the default '-p' argument if the only arguments specified are specified after double dash.
# Only position parameters can be specified after the double dash.
-if [ $# == 0 ] || [ $1 == '--' ]; then
+if [ $# == 0 ] || [ "$1" == "--" ]; then
buildArgs="./build.proj /p:RestoreDuringBuild=true /t:Sync"
- if [ $1 == '--' ]; then
+ if [ "$1" == "--" ]; then
shift
fi
fi