turn on -x debugging in these scripts

This commit is contained in:
Joey Hess 2014-05-24 14:44:20 -04:00
parent 744d4b4cce
commit 5ad87aae41
Failed to extract signature
2 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -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