Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build-isos
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-03-02 13:44:38 +0100
committerErich Eckner <git@eckner.net>2021-03-02 13:44:38 +0100
commit3b569e24016a3cb5258e9e856d7161b8360499f3 (patch)
treeb11620d8e7b5459602f5f133eb9243d701371a0e /build-isos
parent22f96f6e1d7455862704df37735d7ece51a932af (diff)
build-isos: mount necessary mountpoints
Diffstat (limited to 'build-isos')
-rwxr-xr-xbuild-isos3
1 files changed, 3 insertions, 0 deletions
diff --git a/build-isos b/build-isos
index 81dd1e1..5541fe6 100755
--- a/build-isos
+++ b/build-isos
@@ -36,6 +36,9 @@ case "$(hostname -s)" in
sed 's,^.*/,,'
)
+ mountpoint -q "${archive}" || sudo mount "${archive}"
+ mountpoint -q "${destination%/*}" || sudo mount "${destination%/*}"
+
cd "${tmp_dir}"
cp "${destination}/sha512sums" .
cp "${destination}/md5sums" .