turn on -x debugging in these scripts
This commit is contained in:
parent
744d4b4cce
commit
5ad87aae41
2 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Runs inside the chroot set up by buildchroot
|
# Runs inside the chroot set up by buildchroot
|
||||||
set -e
|
set -e
|
||||||
|
set -x
|
||||||
if [ "$(whoami)" != root ]; then
|
if [ "$(whoami)" != root ]; then
|
||||||
echo "Must run this as root!" >&2
|
echo "Must run this as root!" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Runs inside the chroot set up by buildchroot, as the user it creates
|
# Runs inside the chroot set up by buildchroot, as the user it creates
|
||||||
set -e
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
cd
|
cd
|
||||||
rm -rf .ghc .cabal .android
|
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.
|
# The git-annex android Makefile needs this cc symlink.
|
||||||
ln -s arm-linux-androideabi-gcc $HOME/.ghc/$(cat /tmp/abiversion)/bin/cc
|
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.email androidbuilder@example.com
|
||||||
git config --global user.name androidbuilder
|
git config --global user.name androidbuilder
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue