summaryrefslogtreecommitdiff
path: root/meta/sync.sh
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-10-30 23:34:32 +0100
committerAnton Kling <anton@kling.gg>2023-10-31 00:18:38 +0100
commit352c4542e4064e821d30db875e82904ef44b1c92 (patch)
tree6d40dd0fb7cf6dfd6765b83b6e8c505bf4a471c7 /meta/sync.sh
parent6c0e142409d57c11fc03bcbc3d79a4d646f885ff (diff)
Meta: Fix build scripts to work on debian
Diffstat (limited to 'meta/sync.sh')
-rwxr-xr-xmeta/sync.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/sync.sh b/meta/sync.sh
index 036ad18..ab56757 100755
--- a/meta/sync.sh
+++ b/meta/sync.sh
@@ -2,6 +2,8 @@
scriptdir="$(dirname "$0")"
cd "$scriptdir"
+[ -f ./ext2.img ] || (./new.sh ; exit)
+
# Sync the sysroot with the bootable image
mkdir ./mount
sudo mount ext2.img mount