diff options
Diffstat (limited to 'eclipse/scripts')
| -rwxr-xr-x | eclipse/scripts/build_ide.sh | 5 | ||||
| -rwxr-xr-x | eclipse/scripts/build_server.sh | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/eclipse/scripts/build_ide.sh b/eclipse/scripts/build_ide.sh index 0b080d8..50125cf 100755 --- a/eclipse/scripts/build_ide.sh +++ b/eclipse/scripts/build_ide.sh @@ -4,6 +4,11 @@ # $2 = ide qualifier # $3 = zip qualifier +if [[ "Linux" != $(uname) ]]; then + echo "$0: ADT IDE build script runs only on Linux" + exit 0 +fi + PROG_DIR=$(dirname "$0") DEST_DIR="$1" diff --git a/eclipse/scripts/build_server.sh b/eclipse/scripts/build_server.sh index da7184a..4efd609 100755 --- a/eclipse/scripts/build_server.sh +++ b/eclipse/scripts/build_server.sh @@ -111,9 +111,7 @@ function build_plugin() { } function build_adt_ide() { - # Build the ADT IDE if this runs on Linux. - # Qualifier for the zip files is just the build number if available. - if [[ -z $INTERNAL_BUILD && "Linux" == $(uname) ]]; then + if [[ -z $INTERNAL_BUILD ]]; then # This needs to run from the top android directory D="$PROG_DIR" cd "$D/../../../" && echo "Switched to directory $PWD" |
