Changeset 251 in Main for trunk/Makefile


Ignore:
Timestamp:
Oct 4, 2024, 6:15:19 AM (6 weeks ago)
Author:
Nishi
Message:

fix installer.sh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r244 r251  
    3535
    3636./README: ./README.tmpl ./Server/tw_version.h
    37         sed "s/@VERSION@/`grep "define TW_VERSION" Server/tw_version.h | grep -Eo '"[^\]+' | sed 's/^"//g'`/g" ./README.tmpl > $@
     37        sed "s/@VERSION@/`grep "define TW_VERSION" Server/tw_version.h | grep -Eom 1 '"[^\]+' | sed 's/^"//g'`/g" ./README.tmpl > $@
    3838
    3939install: all ./Tool/genconf ./Tool/itworks
     
    4949
    5050get-version:
    51         @grep "define TW_VERSION" Server/tw_version.h | grep -Eo '"[^\]+' | sed 's/^"//g'
     51        @grep "define TW_VERSION" Server/tw_version.h | grep -Eom 1 '"[^\]+' | sed 's/^"//g'
    5252
    5353clean:
Note: See TracChangeset for help on using the changeset viewer.