Ignore:
Timestamp:
Dec 20, 2005, 10:37:05 AM (15 years ago)
Author:
bcornec
Message:
  • correct handling of VERSION and REVISION in mindi
  • VMPlayer support
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.05/mindi/install.sh

    r242 r243  
    2828
    2929MINDIVER=`cat VERSION`
    30 echo "mindi $MINDIVER will be installed under $local"
     30MINDIREV=`cat REVISION`
     31echo "mindi ${MINDIVER}-r${MINDIREV} will be installed under $local"
    3132
    3233if [ "_$DOCDIR" = "_" ]; then
     
    4748
    4849if [ "$RPMBUILDMINDI" = "true" ]; then
    49     sed -e "s~^MINDI_PREFIX=XXX~MINDI_PREFIX=/usr~" -e "s~^MINDI_CONF=YYY~MINDI_CONF=/etc/mindi~" mindi > $local/sbin/mindi
     50    sed -e "s~^MINDI_PREFIX=XXX~MINDI_PREFIX=/usr~" -e "s~^MINDI_CONF=YYY~MINDI_CONF=/etc/mindi~" -e "s~^MINDI_VER=VVV~MINDI_VER=$MINDIVER~" -e "s~^MINDI_REV=RRR~MINDI_REV=$MINDIREV~" mindi > $local/sbin/mindi
    5051else
    51     sed -e "s~^MINDI_PREFIX=XXX~MINDI_PREFIX=$local~" -e "s~^MINDI_CONF=YYY~MINDI_CONF=$conf~" mindi > $local/sbin/mindi
     52    sed -e "s~^MINDI_PREFIX=XXX~MINDI_PREFIX=$local~" -e "s~^MINDI_CONF=YYY~MINDI_CONF=$conf~" -e "s~^MINDI_VER=VVV~MINDI_VER=$MINDIVER~" -e "s~^MINDI_REV=RRR~MINDI_REV=$MINDIREV~" mindi > $local/sbin/mindi
    5253fi
    5354chmod 755 $local/sbin/mindi
Note: See TracChangeset for help on using the changeset viewer.