The Lambda Lab
/
projects
/
forth.jl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1714c4d
)
Fixed bug in executable.
author
Tim Vaughan
<tgvaughan@gmail.com>
Sun, 23 Oct 2016 01:28:05 +0000
(14:28 +1300)
committer
Tim Vaughan
<tgvaughan@gmail.com>
Sun, 23 Oct 2016 01:28:05 +0000
(14:28 +1300)
bin/forth.jl
patch
|
blob
|
history
diff --git
a/bin/forth.jl
b/bin/forth.jl
index
d2b91ea
..
f5218ec
100755
(executable)
--- a/
bin/forth.jl
+++ b/
bin/forth.jl
@@
-1,3
+1,7
@@
-#!/bin/sh
+#!/bin/
ba
sh
-exec julia -e "import forth; forth.run(\"$1\")"
+if [ -z "$1" ]; then
+ exec julia -e "import forth; forth.run()"
+else
+ exec julia -e "import forth; forth.run(\"$1\")"
+fi