summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-09-27 21:56:21 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-09-27 21:56:21 -0400
commit2315f7dfde7a0923e60a1e19b57a4c52b66864c9 (patch)
tree12200860e29b3619c8df16c36ffc679297cb6ca7
parent8dbb6eba4299cedbda6416d07abfb291f84168be (diff)
add debugging
-rwxr-xr-x.local/bin/autobuild.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.local/bin/autobuild.sh b/.local/bin/autobuild.sh
index b2c0310..d8026c6 100755
--- a/.local/bin/autobuild.sh
+++ b/.local/bin/autobuild.sh
@@ -28,6 +28,7 @@ usage() {
}
main() {
+ set -x
set -euE
. "$(librelib messages)"
setup_traps
@@ -77,6 +78,9 @@ main() {
# Get the ABSLibre tree
cd "$WORKDIR/abslibre"
env -i git reset --hard origin/master
+ ls -l /proc/self/ns/net
+ grep -H ^ /etc/resolv.conf
+ ping -c 1 git.parabola.nu
gitget -f -p "$ABSLIBRESEND" checkout "$ABSLIBRERECV" "$WORKDIR/abslibre"
if ! [[ -f "${WORKDIR}/abslibre/${package}/PKGBUILD" ]]; then
die "package does not exist in abslibre.git: %s" "$package"