mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* src/bin/overrides/gnucash: new file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6118 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
16
src/bin/overrides/gnucash
Executable file
16
src/bin/overrides/gnucash
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
exec gnucash-env guile -e main -s "$0" "$@"
|
||||
!#
|
||||
|
||||
(use-modules (gnucash bootstrap))
|
||||
|
||||
(define (main args)
|
||||
;; UGLY HACK -- FIXME -- code should be rewritten to not need this.
|
||||
;; In particular, we should be using gnc_scm_lookup where we're using
|
||||
;; gh_lookup or gh_eval_str now.
|
||||
(set-current-module (resolve-module '(gnucash bootstrap)))
|
||||
(gnc:main))
|
||||
|
||||
;; Local Variables:
|
||||
;; mode: scheme
|
||||
;; End:
|
||||
Reference in New Issue
Block a user