diff options
author | Steve MacLean <stmaclea@microsoft.com> | 2019-02-27 16:53:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-27 16:53:08 -0500 |
commit | e7289a7c8f9c1fcc9d6fa4c9d4954cdbf5ba4acc (patch) | |
tree | a1648bd5abeb5faaf5c9cb48ece723602a82064a /sync.sh | |
parent | 95207c60d472047aeb1688d04f23b77216aafeae (diff) | |
download | coreclr-e7289a7c8f9c1fcc9d6fa4c9d4954cdbf5ba4acc.tar.gz coreclr-e7289a7c8f9c1fcc9d6fa4c9d4954cdbf5ba4acc.tar.bz2 coreclr-e7289a7c8f9c1fcc9d6fa4c9d4954cdbf5ba4acc.zip |
Fix sync.sh syntax error (#22883)
Diffstat (limited to 'sync.sh')
-rwxr-xr-x | sync.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |