From 78a33b22a231fae12bb0ce6be590db9817dee844 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 24 May 2014 14:44:20 -0400 Subject: turn on -x debugging in these scripts --- standalone/android/buildchroot-inchroot | 1 + standalone/android/buildchroot-inchroot-asuser | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/standalone/android/buildchroot-inchroot b/standalone/android/buildchroot-inchroot index add03f847..533f5b75f 100755 --- a/standalone/android/buildchroot-inchroot +++ b/standalone/android/buildchroot-inchroot @@ -1,6 +1,7 @@ #!/bin/sh # Runs inside the chroot set up by buildchroot set -e +set -x if [ "$(whoami)" != root ]; then echo "Must run this as root!" >&2 exit 1 diff --git a/standalone/android/buildchroot-inchroot-asuser b/standalone/android/buildchroot-inchroot-asuser index faf8cbc02..2358636ef 100755 --- a/standalone/android/buildchroot-inchroot-asuser +++ b/standalone/android/buildchroot-inchroot-asuser @@ -1,6 +1,7 @@ #!/bin/sh # Runs inside the chroot set up by buildchroot, as the user it creates set -e +set -x cd rm -rf .ghc .cabal .android @@ -31,8 +32,5 @@ rm -rf adt-bundle-linux-x86/eclipse # The git-annex android Makefile needs this cc symlink. ln -s arm-linux-androideabi-gcc $HOME/.ghc/$(cat /tmp/abiversion)/bin/cc -cd -git clone git://git-annex.branchable.com/ git-annex - git config --global user.email androidbuilder@example.com git config --global user.name androidbuilder -- cgit v1.2.3