minor cleanup

This commit is contained in:
2026-01-17 14:23:41 -05:00
parent 1e047e2ba2
commit 3d67fe8d6e

4
run.sh
View File

@@ -7,7 +7,7 @@ if [[ ! -f /w/PKGBUILD ]]; then
exit 1 exit 1
fi 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 # 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 archmirror.i.balki.me" >> /etc/hosts'
sudo sh -c 'echo "100.64.0.2 gitea.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 cd ./w
if [ "${DEBUG_SHELL-n}" = y ]; then 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 bash
fi fi