Browse Source

fix erlang

txlyre 1 year ago
parent
commit
de29ae5c42
1 changed files with 4 additions and 0 deletions
  1. 4 0
      langs/erlang/run.sh

+ 4 - 0
langs/erlang/run.sh

@@ -2,4 +2,8 @@ IN="$(mktemp --suffix .erl)"
 
 cat > "$IN"
 
+# Because escript ignores the very first line (why…).
+sed -i "1i
+" "$IN"
+
 escript "$IN"