Skip to content

Commit

Permalink
Only create temp dir if necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed May 31, 2015
1 parent 558293a commit e597d81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion util/update-design.perl6.org.sh
Expand Up @@ -6,7 +6,6 @@ ulimit -v 1048576
ulimit -t 600

ROOT_DIR=$HOME
DEST_DIR=$(mktemp -d)
MU_DIR=$ROOT_DIR/mu
TEST_DIR=$ROOT_DIR/roast
POD_DIR="$ROOT_DIR/specs"
Expand All @@ -31,6 +30,8 @@ done

[ "$UPDATED" ] || exit

DEST_DIR=$(mktemp -d)

cd $MU_DIR

# index file
Expand Down

0 comments on commit e597d81

Please sign in to comment.