mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
ced147f641
commit
bc0940a49e
@ -365,6 +365,8 @@ End Function
|
|||||||
|
|
||||||
|
|
||||||
' Make sure we run in a console (so output is visible)
|
' 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
|
Sub CheckStartMode
|
||||||
' Returns the running executable as upper case from the last \ symbol
|
' Returns the running executable as upper case from the last \ symbol
|
||||||
strStartExe = UCase( Mid( wscript.fullname, instrRev(wscript.fullname, "\") + 1 ) )
|
strStartExe = UCase( Mid( wscript.fullname, instrRev(wscript.fullname, "\") + 1 ) )
|
||||||
@ -388,3 +390,4 @@ Sub AbortScript
|
|||||||
chRead = stdin.Read (1)
|
chRead = stdin.Read (1)
|
||||||
WScript.Quit
|
WScript.Quit
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user