From 3b569e24016a3cb5258e9e856d7161b8360499f3 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 2 Mar 2021 13:44:38 +0100 Subject: build-isos: mount necessary mountpoints --- build-isos | 3 +++ 1 file changed, 3 insertions(+) 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" . -- cgit v1.2.3-70-g09d2