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.
This commit is contained in:
Matt Ellis 2016-05-30 16:44:21 -07:00 committed by Livar Cunha
parent 29bd8be092
commit 5174fc06bd

View file

@ -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