1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-16 14:48:34 +00:00

Move set -x at the top

This commit is contained in:
sin 2014-03-05 17:47:33 +00:00
parent 0a7c9e877b
commit baa70b4e3b

@ -2,6 +2,8 @@
# #
# Ensure you've loaded the loop module with max_part=15 # Ensure you've loaded the loop module with max_part=15
set -e -x
if test "$2" = ""; then if test "$2" = ""; then
echo "Usage: $0 <rootdir> <imgfile>" echo "Usage: $0 <rootdir> <imgfile>"
exit exit
@ -10,8 +12,6 @@ root=$1
img=$2 img=$2
mnt="/mnt/morpheus" mnt="/mnt/morpheus"
set -e -x
dd if=/dev/zero of=$img bs=512M count=4 dd if=/dev/zero of=$img bs=512M count=4
( (
cat << EOF cat << EOF