Changeset 561 for CMT/HEAD/mgr/cmt_make_shlib_common.sh
- Timestamp:
- Mar 8, 2011, 1:56:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/mgr/cmt_make_shlib_common.sh
r469 r561 29 29 extra=$* 30 30 31 ld=`${CMTROOT}/mgr/cmt show macro_value shlibbuilder -tag=${tag}` 32 ldflags=`${CMTROOT}/mgr/cmt show macro_value shlibflags -tag=${tag}` 33 suffix=`${CMTROOT}/mgr/cmt show macro_value shlibsuffix -tag=${tag}` 34 libprefix=`${CMTROOT}/mgr/cmt show macro_value library_prefix -tag=${tag}` 35 libsuffix=`${CMTROOT}/mgr/cmt show macro_value library_suffix -tag=${tag}` 31 if [ "${CMTDEBUG:-}" ]; then 32 unset CMTDEBUG 33 set -x 34 fi 35 36 ld=`${CMTROOT}/mgr/cmt show macro_value shlibbuilder -tag=${tag}` || exit 37 ldflags=`${CMTROOT}/mgr/cmt show macro_value shlibflags -tag=${tag}` || exit 38 suffix=`${CMTROOT}/mgr/cmt show macro_value shlibsuffix -tag=${tag}` || exit 39 libprefix=`${CMTROOT}/mgr/cmt show macro_value library_prefix -tag=${tag}` || exit 40 libsuffix=`${CMTROOT}/mgr/cmt show macro_value library_suffix -tag=${tag}` || exit 36 41 37 42 libname=${libprefix}${lib}${libsuffix} … … 42 47 43 48 if test "${bin}" = "" ; then 44 bin=`${CMTROOT}/mgr/cmt show macro_value bin -tag=${tag}` 49 bin=`${CMTROOT}/mgr/cmt show macro_value bin -tag=${tag}` || exit 45 50 fi 46 51 47 52 here=`/bin/pwd` 48 cd ${bin} 53 cd ${bin} || exit 49 54 50 /bin/rm -f ${libname}.${suffix} 55 /bin/rm -f ${libname}.${suffix} || exit 51 56 52 57 result=0 … … 61 66 62 67 (cd ${temp_shlib}; ar x ../${libname}.a) 68 result=$? 69 if [ ${result} -ne 0 ]; then 70 \rm -rf ${temp_shlib} 71 cd ${here} 72 exit ${result} 73 fi 63 74 64 75 #
Note: See TracChangeset
for help on using the changeset viewer.