* 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:
Rob Browning
2001-11-28 23:03:42 +00:00
parent 5c370a69a1
commit 3a253f3dd2

16
src/bin/overrides/gnucash Executable file
View 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: