diff options
author | Rob Landley <rob@landley.net> | 2007-12-16 18:02:05 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-12-16 18:02:05 -0600 |
commit | 03a94509e47d9e194324f50f0feba81f2d4328ae (patch) | |
tree | b3505ddf9ba5fc70200831fe455f97d5c3083c21 | |
parent | 273f278fa83715c251e8422489279f91566b856b (diff) | |
download | toybox-03a94509e47d9e194324f50f0feba81f2d4328ae.tar.gz |
Delete testdir after use.
-rwxr-xr-x | test.sh | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,17 +1,16 @@ #!/bin/bash [ -z "$TOPDIR" ] && TOPDIR="$(pwd)" -[ -z "$TESTDIR" ] && TESTDIR="testdir" -rm -rf "$TESTDIR" -mkdir -p "$TESTDIR" +rm -rf testdir +mkdir -p testdir if [ -z "$OLD" ] then - make install_flat PREFIX="$TESTDIR" + make install_flat PREFIX=testdir fi -cd "$TESTDIR" +cd testdir PATH=.:$PATH . "$TOPDIR"/scripts/test/testing.sh @@ -30,4 +29,5 @@ else done fi -rm -rf "$TESTDIR" +cd .. +rm -rf testdir |