Changeset 251 in Main


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

fix installer.sh

Location:
trunk
Files:
2 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:
  • trunk/installer.sh

    r208 r251  
    3131../Tool/genconf "C:/Tewi" modules dll > ../generated.conf
    3232../Tool/itworks > ../itworks.html
    33 makensis -DVERSION=$VERSION install.nsi
     33makensis -DVERSION=$VERSION install.nsi || fail
    3434cp install.exe ../install-nossl.exe
    3535rm -f tewi.exe tewi-service.exe
     
    4747../Tool/genconf "C:/Tewi" modules dll > ../generated.conf
    4848../Tool/itworks > ../itworks.html
    49 makensis -DVERSION=$VERSION install.nsi
     49makensis -DVERSION=$VERSION install.nsi || fail
    5050cp install.exe ../install-ssl.exe
    5151rm -f tewi.exe tewi-service.exe
Note: See TracChangeset for help on using the changeset viewer.