1
0
Fork 0

Reorder code

This commit is contained in:
Braiden Vasco 2017-07-02 17:42:33 +00:00
parent a1d5f03017
commit 9776a1abe9

View file

@ -63,13 +63,12 @@ main() {
mkdir -p "$WORK_DIR"
STAGE_DIR="$BASE_DIR/stage0"
pushd "$STAGE_DIR" > /dev/null
STAGE=$(basename "$STAGE_DIR")
STAGE_WORK_DIR="$WORK_DIR/$STAGE"
ROOTFS_DIR="$STAGE_WORK_DIR/rootfs"
pushd "$STAGE_DIR" > /dev/null
unmount "$STAGE_WORK_DIR"
for SUB_STAGE_DIR in $STAGE_DIR/*; do