From 3dbf701c3556b9946d3a848cbd6c0f6a202e77d8 Mon Sep 17 00:00:00 2001 From: cvoges12 Date: Tue, 5 Oct 2021 02:33:57 +0000 Subject: [PATCH] changed locations for mkisofs's sake --- src/bootsect.sh | 2 +- src/iso.sh | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/bootsect.sh b/src/bootsect.sh index afa6f8a..c8a66fe 100755 --- a/src/bootsect.sh +++ b/src/bootsect.sh @@ -1,4 +1,4 @@ #!/bin/sh git clone https://github.com/wrzlbrmft/bootsect -cp bootsect/bootsect.bin . +cp bootsect/bootsect.bin win/ diff --git a/src/iso.sh b/src/iso.sh index 69a5914..f691379 100755 --- a/src/iso.sh +++ b/src/iso.sh @@ -13,6 +13,7 @@ BOOT="bootsect.bin" # install mkisofs # recreate iso +cd ${EXTRACT} mkisofs \ -allow-limited-size \ -b ${BOOT} \ @@ -23,11 +24,11 @@ mkisofs \ -J -l -D -N -joliet-long -relaxed-filenames \ -V "WINSP" \ -o winsp.iso \ - ${EXTRACT} + . -# clean up bootsect -rm bootsect.bin +cp winsp.iso ../ + +# clean up bootsect and iso extract +cd .. rm -rf bootsect/ - -# clean up iso extract sudo rm -rf ${EXTRACT}