thrift/cleanup.sh
Mark Slee 4c91e55418 Fix cleanup and bootstrap
Summary: spaces in directory names should work

Reviewed By: aditya


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665054 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 01:22:46 +00:00

41 lines
520 B
Bash
Executable File

#!/bin/sh
subdirs="compiler/cpp lib/cpp lib/py"
rm -rf \
AUTHORS \
ChangeLog \
INSTALL \
Makefile.am \
Makefile \
Makefile.in \
Makefile.orig \
NEWS \
aclocal.m4 \
autom4te.cache \
autoscan.log \
config.guess \
config.h \
config.hin \
config.log \
config.status \
config.sub \
configure \
configure.scan \
depcomp \
.deps \
install-sh \
.libs \
libtool \
ltmain.sh \
missing
for subdir in ${subdirs}; do
if [ -x "${subdir}/cleanup.sh" ]; then
cwd="`pwd`"
cd "${subdir}"
./cleanup.sh
cd "${cwd}"
fi
done