From 5174fc06bd3eb8517395e0544506a3c6e730fe6a Mon Sep 17 00:00:00 2001 From: Matt Ellis Date: Mon, 30 May 2016 16:44:21 -0700 Subject: [PATCH] Fix syntax error in _common.sh I believe the intention here was to have -o behave like || however it's not event needed. =~ does a regex match and so the =~ check against ubuntu is sufficent. --- scripts/common/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/common/_common.sh b/scripts/common/_common.sh index 7f99b59a0..faa29f0d4 100644 --- a/scripts/common/_common.sh +++ b/scripts/common/_common.sh @@ -23,7 +23,7 @@ export CHANNEL=$RELEASE_SUFFIX #TODO this is a workaround for a nuget bug on ubuntu. Remove export DISABLE_PARALLEL="" -[[ "$RID" =~ "ubuntu" -o "$RID" =~ "ubuntu.16.04" ]] && export DISABLE_PARALLEL="" +[[ "$RID" =~ "ubuntu" ]] && export DISABLE_PARALLEL="" unset COMMONSOURCE unset COMMONDIR