You've already forked aur_builder
minor cleanup
This commit is contained in:
8
run.sh
8
run.sh
@@ -3,11 +3,11 @@
|
|||||||
set -xeuo pipefail
|
set -xeuo pipefail
|
||||||
|
|
||||||
if [[ ! -f /w/PKGBUILD ]]; then
|
if [[ ! -f /w/PKGBUILD ]]; then
|
||||||
echo "Missing PKGBUILD in /w"
|
echo "Missing PKGBUILD in /w"
|
||||||
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user