diff --git a/run.sh b/run.sh index db21263..859bb87 100755 --- a/run.sh +++ b/run.sh @@ -3,11 +3,11 @@ set -xeuo pipefail if [[ ! -f /w/PKGBUILD ]]; then - echo "Missing PKGBUILD in /w" - exit 1 + echo "Missing PKGBUILD in /w" + exit 1 fi -# /etc/hosts is managed by podman. Copying or editing with `sed -i` does not seem to work. Only appendig works +# /etc/hosts is managed by podman. Copying or editing with `sed -i` does not seem to work. Only appending works # podman sets up 169.254.1.2 to be the ip of the host sudo sh -c 'echo "100.64.0.2 archmirror.i.balki.me" >> /etc/hosts' sudo sh -c 'echo "100.64.0.2 gitea.balki.me" >> /etc/hosts' @@ -19,7 +19,7 @@ cp -r /w . cd ./w if [ "${DEBUG_SHELL-n}" = y ]; then - echo "Stopping before build... Run 'exit 1' to skip building" + echo "$0 : Stopping before build... Run 'exit 1' to skip building" bash fi