Don't put TEST_SICS at the top directory and clean any *.pyc files

This commit is contained in:
Douglas Clowes
2013-07-04 15:42:40 +10:00
parent 73536234fe
commit 6a672d3a8b

View File

@ -169,9 +169,6 @@ then
mkdir -p $TEMPDIR/$DESTDIR
FILEMAP=$TEMPDIR/$DESTDIR/FILEMAP.TXT
init_file_map
#copy TEST_SICS/fakeDMC and remove .svn any directories
cp -v -a $SRCDIR/TEST_SICS/* $TEMPDIR/$DESTDIR >>$FILEMAP
rm -fr $(find $TEMPDIR/$DESTDIR -name .svn)
# step down to the sics directory
DESTDIR=$DESTDIR/$SICSDIR
mkdir -p $TEMPDIR/$DESTDIR
@ -242,6 +239,8 @@ rm -rf $(find $TARDIR -type d -name .svn)
find $TARDIR -type f -name .\*.sw\? -exec rm {} \;
# remove any editor backup files directories
find $TARDIR -type f -name \*~ -exec rm {} \;
# remove any compiled python files
find $TARDIR -type f -name \*.pyc -exec rm {} \;
# set modes for files
find $TARDIR -type f -exec chmod u-s,g-x+wr,o-wx+r {} \;
find $TARDIR -type f -perm -100 -exec chmod go+x {} \;