aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/scripts
diff options
context:
space:
mode:
authorSiva Velusamy <vsiva@google.com>2013-03-20 15:44:17 -0700
committerSiva Velusamy <vsiva@google.com>2013-03-20 15:47:51 -0700
commitaa30ce01c25f84203f182689f6708dafc683624a (patch)
tree336458878b32a1e8725924734e55030e6a4bf4d0 /eclipse/scripts
parent163a10dab824ab3b66adb9e1e13f9787eca9d835 (diff)
downloadsdk-aa30ce01c25f84203f182689f6708dafc683624a.zip
sdk-aa30ce01c25f84203f182689f6708dafc683624a.tar.gz
sdk-aa30ce01c25f84203f182689f6708dafc683624a.tar.bz2
Build ADT IDE only on Linux
Change-Id: I832831093402bb6d4bfa4ab8aefd23d8d7ee8291
Diffstat (limited to 'eclipse/scripts')
-rwxr-xr-xeclipse/scripts/build_ide.sh5
-rwxr-xr-xeclipse/scripts/build_server.sh4
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"