# Marc E. Fiuczynski <mef@cs.princeton.edu>
# Copyright (C) 2004-2007 The Trustees of Princeton University
#
-# $Id: build.sh,v 1.20 2007/09/06 20:41:23 faiyaza Exp $
+# $Id$
+# $URL$
#
PATH=/sbin:/bin:/usr/sbin:/usr/bin
rm -rf ${vdir}
rm -f ${vdir}.changes
mv ${vdir}-tmp ${vdir}
+
+ # cleanup yum remainings
+ rm -rf ${vdir}/build ${vdir}/longbuildroot
+
echo "--------DONE BUILDING system vserver ${NAME}: $(date)"
done
# fix sudoers config
[ -f ${vref}/etc/sudoers ] && echo -e "\nDefaults\tlogfile=/var/log/sudo\n" >> ${vref}/etc/sudoers
+# cleanup yum remainings
+rm -rf ${vref}/build ${vref}/longbuildroot
+
exit 0