From 5ad87aae41f43dde89fd5da21a62cb178cf7f4fb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 24 May 2014 14:44:20 -0400 Subject: [PATCH] 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 add03f8472..533f5b75fa 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 faf8cbc029..2358636ef3 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