commit baa70b4e3b8245b8322644c3b02c46b938341247
parent 0a7c9e877b8f38cc2a87a447e491674d5714b8d4
Author: sin <sin@2f30.org>
Date: Wed, 5 Mar 2014 17:47:33 +0000
Move set -x at the top
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/stuff/create-bootable b/stuff/create-bootable
@@ -2,6 +2,8 @@
#
# Ensure you've loaded the loop module with max_part=15
+set -e -x
+
if test "$2" = ""; then
echo "Usage: $0 <rootdir> <imgfile>"
exit
@@ -10,8 +12,6 @@ root=$1
img=$2
mnt="/mnt/morpheus"
-set -e -x
-
dd if=/dev/zero of=$img bs=512M count=4
(
cat << EOF