freetdm: minor changes to mkrelease.sh

This commit is contained in:
Arnaldo Pereira 2011-03-11 17:02:51 -05:00
parent c1904f2e4f
commit 75ba53cfb2

View File

@ -129,8 +129,7 @@ cp -r ./* $INSTALLPREFIX/$release
# copy ABI compatibility reports to release # copy ABI compatibility reports to release
if [ -d compat_reports ]; then if [ -d compat_reports ]; then
cp -r ./compat_reports $INSTALLPREFIX/$release mv ./compat_reports $INSTALLPREFIX/$release
rm -rf ./compat_reports
fi fi
cp -r ./* $INSTALLPREFIX/bin-releases/$major/$release cp -r ./* $INSTALLPREFIX/bin-releases/$major/$release
@ -141,9 +140,9 @@ find $INSTALLPREFIX/$release -name .deps -exec rm -rf {} \;
find $INSTALLPREFIX/$release -name *.so -exec rm -rf {} \; find $INSTALLPREFIX/$release -name *.so -exec rm -rf {} \;
find $INSTALLPREFIX/$release -name *.lo -exec rm -rf {} \; find $INSTALLPREFIX/$release -name *.lo -exec rm -rf {} \;
rm -rf $INSTALLPREFIX/$release/{$LIBSNG_ISDN_DIR,$LIBSNG_SS7_DIR,*.tgz} rm -rf $INSTALLPREFIX/$release/{$LIBSNG_ISDN_DIR,$LIBSNG_SS7_DIR,*.tgz}
rm -rf $INSTALLPREFIX/bin-releases/$major/$release/{$LIBSNG_ISDN_DIR,$LIBSNG_SS7_DIR,*.tgz}
# clean the source tree # clean the source tree
rm -rf $LIBSNG_ISDN_DIR $LIBSNG_SS7_DIR
make clean make clean
make mod_freetdm-clean make mod_freetdm-clean