From c56bf093fb66e8e4df2ced45449e66a8afa6a4da Mon Sep 17 00:00:00 2001 From: Arnaldo Pereira Date: Wed, 2 Mar 2011 23:18:56 -0300 Subject: [PATCH] freetdm: some fixes to mkrelease.sh --- libs/freetdm/mkrelease.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/libs/freetdm/mkrelease.sh b/libs/freetdm/mkrelease.sh index 45bc1cf868..4b9a18bf9f 100755 --- a/libs/freetdm/mkrelease.sh +++ b/libs/freetdm/mkrelease.sh @@ -133,14 +133,15 @@ if [ -d compat_reports ]; then rm -rf ./compat_reports fi -find $INSTALLPREFIX/ -name .libs -exec rm -rf {} \; -find $INSTALLPREFIX/ -name .deps -exec rm -rf {} \; -find $INSTALLPREFIX/ -name *.so -exec rm -rf {} \; -find $INSTALLPREFIX/ -name *.lo -exec rm -rf {} \; - cp -r ./* $INSTALLPREFIX/bin-releases/$major/$release cp -r ./.libs $INSTALLPREFIX/bin-releases/$major/$release +find $INSTALLPREFIX/$release -name .libs -exec rm -rf {} \; +find $INSTALLPREFIX/$release -name .deps -exec rm -rf {} \; +find $INSTALLPREFIX/$release -name *.so -exec rm -rf {} \; +find $INSTALLPREFIX/$release -name *.lo -exec rm -rf {} \; +rm -rf $INSTALLPREFIX/$release/{$LIBSNG_ISDN_DIR,$LIBSNG_SS7_DIR,*.tgz} + # clean the source tree rm -rf $LIBSNG_ISDN_DIR $LIBSNG_SS7_DIR make clean