From 75ba53cfb2ac746e832f8f61d6bc519c80ecabf1 Mon Sep 17 00:00:00 2001 From: Arnaldo Pereira Date: Fri, 11 Mar 2011 17:02:51 -0500 Subject: [PATCH] freetdm: minor changes to mkrelease.sh --- libs/freetdm/mkrelease.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libs/freetdm/mkrelease.sh b/libs/freetdm/mkrelease.sh index 4b9a18bf9f..46d4fbd93f 100755 --- a/libs/freetdm/mkrelease.sh +++ b/libs/freetdm/mkrelease.sh @@ -129,8 +129,7 @@ cp -r ./* $INSTALLPREFIX/$release # copy ABI compatibility reports to release if [ -d compat_reports ]; then - cp -r ./compat_reports $INSTALLPREFIX/$release - rm -rf ./compat_reports + mv ./compat_reports $INSTALLPREFIX/$release fi 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 *.lo -exec rm -rf {} \; 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 -rm -rf $LIBSNG_ISDN_DIR $LIBSNG_SS7_DIR make clean make mod_freetdm-clean