X-Git-Url: http://www.privoxy.org/gitweb/misc.html?a=blobdiff_plain;f=constructPkgContent.sh;h=295c15a960d140d87a749b161eebd3e1332fae50;hb=9cf94dce64debdb658b9591d92493e2b74ef5872;hp=54177b69e5077cea220d13d1cc34e62ed22db571;hpb=362800d69fbcfe19adc20160d06e20f77739c1dc;p=OSXPackageBuilder.git diff --git a/constructPkgContent.sh b/constructPkgContent.sh index 54177b6..295c15a 100755 --- a/constructPkgContent.sh +++ b/constructPkgContent.sh @@ -42,6 +42,13 @@ echo "Copy the package skeleton (the unchanging content) to a new folder named ' echo "" cp -vR pkg\ content\ skeleton pkg\ content +# Replace the version number placeholders in the uninstallation script +echo "" +echo "Replace the version number placeholders in the uninstallation script" +echo "" +VERSION=`perl findversion.pl ../current/ChangeLog` +sed "s/PRIVOXY_VERSION/${VERSION}/g" pkg\ content\ skeleton/Applications/Privoxy/uninstall.command > pkg\ content/Applications/Privoxy/uninstall.command + # Copy the compiled privoxy binary from the 'current' project echo "" echo ""