6 printf "Creating temporary dir... "
7 DIR=`$MKTEMP -d 2> /dev/null || $MKTEMP -d -t stg`
11 printf "Failed.\nTemporary dir is empty.\n"
17 printf "Failed.\nTemporary dir '$DIR' does not exist or not a directory.\n"
21 LOGFILE=`date "+%Y-%m-%d-%H%M%S.log"`
23 printf "Ok. Working dir: $DIR\nCloning... "
24 ./clone.sh "$DIR" >> "$LOGFILE" 2>&1
30 printf "Ok.\nBuilding... "
32 ./build.sh "$DIR" >> "$LOGFILE" 2>&1
41 ./test.sh "$DIR" # >> "$LOGFILE" 2>&1
43 printf "Cleaning up... "