Branch: Tag:

2000-09-25

2000-09-25 07:55:02 by Per Hedbor <ph@opera.com>

Include ls -lL of pike binary in version info, thus removing .o files when pike is changed even if the version has not been changed

Rev: server/start:1.129

1:   #!/bin/sh   # - # $Id: start,v 1.128 2000/09/24 01:49:17 per Exp $ + # $Id: start,v 1.129 2000/09/25 07:55:02 per Exp $      ### If --silent-start is given as the first argument,   ### nothing will be printed to stdout by the script.
636:   #   # Now do the stuff   # - PIKEVERSION=`$pike --version 2>&1` + PIKEVERSION="`$pike --version 2>&1|head -1`" + LS="`ls -lL $pike 2>/dev/null`"    -  + VERSION_DATA="$PIKEVERSION $DEFINES $LS"      if [ "$program" = "base_server/roxenloader.pike" ] ; then -  if [ "`cat $old_roxen_defines 2>/dev/null`" != "$PIKEVERSION $DEFINES" ] ; then +  if [ "`cat $old_roxen_defines 2>/dev/null`" != "$VERSION_DATA" ] ; then    remove_old_dot_o_files "defines or pike version changed"    fi -  echo "$PIKEVERSION $DEFINES" > $old_roxen_defines +  echo "$VERSION_DATA" > $old_roxen_defines   fi      if [ -z "$once" ] ; then