summaryrefslogtreecommitdiff
path: root/build-isos
diff options
context:
space:
mode:
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" .