diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-09-08 14:25:36 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-09-08 14:25:36 +0100 |
commit | b143d1ec3813f25128e34d06aa552b9d6703569b (patch) | |
tree | c82719337b4fa7552b4cccf08c32d94ce3eafbb8 /lib/gall/ll.lua | |
parent | 3c5a5bc87cccf5d4a99f155e449bbb7a98c4262f (diff) | |
download | gall-b143d1ec3813f25128e34d06aa552b9d6703569b.tar.gz |
GALL.LL: Initial testing for gall.ll
Diffstat (limited to 'lib/gall/ll.lua')
-rw-r--r-- | lib/gall/ll.lua | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/gall/ll.lua b/lib/gall/ll.lua index 7f20683..24f76bb 100644 --- a/lib/gall/ll.lua +++ b/lib/gall/ll.lua @@ -65,8 +65,11 @@ local function _rungit(t) return why, stdout, stderr end -local function _setgit(e) - git_exe = e +local function get_set_git(e) + if e then + git_exe = e + end + return git_exe end local function _chomp(s) @@ -76,7 +79,7 @@ end local mod_ret = { rungit = _rungit, - setgit = _setgit, + get_set_git = get_set_git, chomp = _chomp } |