Author: mturk Date: Fri Jul 30 10:02:38 2010 New Revision: 980714 URL: http://svn.apache.org/viewvc?rev=980714&view=rev Log: Detect os. RM needs to suply the archtecture
Modified: commons/proper/daemon/trunk/src/native/unix/support/mkdist.sh Modified: commons/proper/daemon/trunk/src/native/unix/support/mkdist.sh URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/unix/support/mkdist.sh?rev=980714&r1=980713&r2=980714&view=diff ============================================================================== --- commons/proper/daemon/trunk/src/native/unix/support/mkdist.sh (original) +++ commons/proper/daemon/trunk/src/native/unix/support/mkdist.sh Fri Jul 30 10:02:38 2010 @@ -22,7 +22,8 @@ patch_sed='/#define.*JSVC_PATCH_VERSION/ vmajor="`sed -n $major_sed $topdir/native/version.h`" vminor="`sed -n $minor_sed $topdir/native/version.h`" vpatch="`sed -n $patch_sed $topdir/native/version.h`" -verdst="commons-daemon-$vmajor.$vminor.$vpatch" +osname="`uname -s | tr [A-Z] [a-z]`" +verdst="commons-daemon-$vmajor.$vminor.$vpatch-bin-$osname-$1" extfiles="LICENSE.txt NOTICE.txt RELEASE-NOTES.txt" for i in $extfiles do