Debian Codegraph @

win32/BuildInstaller

raw
1 #!/bin/bash
2 # This script substitutes in the acedb version into installer.iss.
3 # It used to be done in WIN32_4_DEF but when I upgraded to Cygwin 1.3.22-1
4 # this process went wrong. The sed command broke the end-of-line
5 # character which then meant compil32 saw installer.iss as one long line
6 # rather than separate lines with stuff on each.
7 # The expedient way to fix that is the second sed command on line 3 in
8 # this file, but this only works outside the context of the make command,
9 # which is why we now have this as a separate script file.
10 #
11 rm -f installer.iss; cat ../win32/installer.iss | \
12 sed 's/xxxx/'`/usr/bin/perl ../wtools/aceGetversion ../wnq`'/g' |\
13 sed 's/$/\r/' >installer.iss