summaryrefslogtreecommitdiffstats
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2016-09-15 21:00:27 -0500
committerPatrick Williams <patrick@stwcx.xyz>2016-09-17 11:15:14 +0000
commitb898314b84e808d8e64c759140bdead2e573e78e (patch)
tree9a7d756beeef823cb96ad2d4cb0e378678dd6d1b /bootstrap.sh
parent70aa8d9677b13eb97e71bc758a09e14e37053565 (diff)
downloadphosphor-host-ipmid-b898314b84e808d8e64c759140bdead2e573e78e.tar.gz
phosphor-host-ipmid-b898314b84e808d8e64c759140bdead2e573e78e.zip
bootstrap.sh: Enhance clean for subdirs and test support
Change-Id: Ieebaa759f59c6c2a020eb18120d4b48b7dc4a4f9 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 4501fb1..2795095 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -1,13 +1,14 @@
#!/bin/sh
AUTOCONF_FILES="Makefile.in aclocal.m4 ar-lib autom4te.cache compile config.* \
- configure depcomp install-sh ltmain.sh missing *libtool"
+ configure depcomp install-sh ltmain.sh missing *libtool test-driver"
case $1 in
clean)
test -f Makefile && make maintainer-clean
- rm -rf ${AUTOCONF_FILES}
-
+ for file in ${AUTOCONF_FILES}; do
+ find -name "$file" | xargs -r rm -rf
+ done
exit 0
;;
esac
OpenPOWER on IntegriCloud