Changeset 72 for scripts


Ignore:
Timestamp:
Jul 14, 2014, 10:06:50 AM (10 years ago)
Author:
alloc
Message:

v.30: Allow for . and , as decimal sep in log message timestamps; run 7dtd with locale C

Location:
scripts/usr/local/lib/7dtd
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • scripts/usr/local/lib/7dtd/VERSION

    r71 r72  
    1 Version: 29
    2 Release: 2014-07-12
     1Version: 30
     2Release: 2014-07-13
  • scripts/usr/local/lib/7dtd/commands/start.sh

    r70 r72  
    4141                OPTS="-logfile $(getInstancePath $1)/logs/output_log.txt -configfile=$(getInstancePath $1)/config.xml -dedicated"
    4242               
    43                 LD_LIBRARY_PATH=$SDTD_BASE/linux_files $SSD --start $SSD_PID $SSD_DAEMON $SSD_USER --chdir $SDTD_BASE/engine --exec $SDTD_BASE/engine/7DaysToDie.x86 -- $OPTS > $(getInstancePath $1)/logs/stdout.log 2>&1
     43                LD_LIBRARY_PATH=$SDTD_BASE/linux_files LC_ALL=C $SSD --start $SSD_PID $SSD_DAEMON $SSD_USER --chdir $SDTD_BASE/engine --exec $SDTD_BASE/engine/7DaysToDie.x86 -- $OPTS > $(getInstancePath $1)/logs/stdout.log 2>&1
    4444                sleep 1
    4545
  • scripts/usr/local/lib/7dtd/monitor-log.sh

    r69 r72  
    6969$NOBUF tr -d '\r' |
    7070$NOBUF grep -v "^(Filename: " |
    71 $NOBUF sed -r 's/^[0-9]+,[0-9]+ (.*)$/\1/' |
     71$NOBUF sed -r 's/^[0-9]+[.,][0-9]+ (.*)$/\1/' |
    7272while read line ; do
    7373        if [ -n "$line" ]; then
Note: See TracChangeset for help on using the changeset viewer.