aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2002-02-20 05:09:22 +0000
committerGeoff Thorpe <geoff@openssl.org>2002-02-20 05:09:22 +0000
commitafeab58a3cdc9b6ff4dae42613e21952c6e4a3f6 (patch)
tree559d9d082aa1434e27556eb63537f22cd1075636 /demos
parent744c49a81b84bc78b01e0203770512c183bb754e (diff)
downloadopenssl-afeab58a3cdc9b6ff4dae42613e21952c6e4a3f6.tar.gz
Make the "ungunk" logic a little more robust.
Diffstat (limited to 'demos')
-rwxr-xr-xdemos/tunala/autoungunk.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/tunala/autoungunk.sh b/demos/tunala/autoungunk.sh
index 14d10790fd..0c9123b6cf 100755
--- a/demos/tunala/autoungunk.sh
+++ b/demos/tunala/autoungunk.sh
@@ -4,13 +4,13 @@
# mess has been left in the directory thanks to autoconf, automake, and their
# friends.
-if test -f Makefile; then
- make distclean
- rm -f Makefile
-fi
-
if test -f Makefile.plain; then
+ if test -f Makefile; then
+ make distclean
+ fi
mv Makefile.plain Makefile
+else
+ make clean
fi
rm -f aclocal.m4 config.* configure install-sh \