diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2013-05-28 14:17:33 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2013-05-28 14:17:33 +0530 |
commit | 7992a659d5d0b772a83d6bf22d73a91c1f5cfe39 (patch) | |
tree | ce9431df4dcc22d81a10218290ea40d96506247e /build-scripts/create-user-build-script | |
parent | 052a6f0c0658f9d7b3068dea8083112908e78e14 (diff) |
create-user-build-script: use == for string comparison and fix a typo
Diffstat (limited to 'build-scripts/create-user-build-script')
-rwxr-xr-x | build-scripts/create-user-build-script | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build-scripts/create-user-build-script b/build-scripts/create-user-build-script index 64f56ea..3d35447 100755 --- a/build-scripts/create-user-build-script +++ b/build-scripts/create-user-build-script @@ -64,7 +64,7 @@ while getopts "${USAGE_OPTOVERLAY}d:l:hty" optn; do esac done -if [ \${LINARO_ANDROID_ACCESS_ID} -eq "default-bot" -a \${INTERACTIVE} -eq 0 ] ; then +if [ "\${LINARO_ANDROID_ACCESS_ID}" == "default-bot" -a \${INTERACTIVE} -eq 0 ] ; then usage fi @@ -83,7 +83,7 @@ if [[ \${UBUNTU} =~ "13." || \${UBUNTU} =~ "12.10" ]]; then PKGS+=' libstdc++6:i386 git-core' elif [[ \${UBUNTU} =~ "12.04" || \${UBUNTU} =~ "10.04" ]] ; then #Install basic dev package missing in chrooted environments - suod apt-get install python-software-properties + sudo apt-get install python-software-properties if [[ \${UBUNTU} =~ "12.04" ]]; then PKGS+=' libstdc++6:i386 git-core' else |