The Lambda Lab
/
projects
/
forth.jl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed bug in executable.
[forth.jl.git]
/
bin
/
forth.jl
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