Win32 build: add attribution for a code snippet in bootstrap

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22720 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens 2013-01-22 10:14:35 +00:00
parent ced147f641
commit bc0940a49e

View File

@ -365,6 +365,8 @@ End Function
' Make sure we run in a console (so output is visible)
' Based on a code snipped found here
' http://ask.metafilter.com/79481/vbscript-printing-to-command-line
Sub CheckStartMode
' Returns the running executable as upper case from the last \ symbol
strStartExe = UCase( Mid( wscript.fullname, instrRev(wscript.fullname, "\") + 1 ) )
@ -388,3 +390,4 @@ Sub AbortScript
chRead = stdin.Read (1)
WScript.Quit
End Sub