diff options
author | Joey Hess <joey@kitenet.net> | 2014-05-24 14:44:20 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-05-24 14:44:20 -0400 |
commit | 78a33b22a231fae12bb0ce6be590db9817dee844 (patch) | |
tree | 46f9daf007a12a3a415e3f3622633a96a5e3289b /standalone | |
parent | ea1e36a49701687c2fa829768ae21cc3997acf4c (diff) |
turn on -x debugging in these scripts
Diffstat (limited to 'standalone')
-rwxr-xr-x | standalone/android/buildchroot-inchroot | 1 | ||||
-rwxr-xr-x | 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 |