txlyre 1 жил өмнө
parent
commit
de29ae5c42
1 өөрчлөгдсөн 4 нэмэгдсэн , 0 устгасан
  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"