We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9a269e commit 936cdb7Copy full SHA for 936cdb7
minibasic/syntax_gen/gen.sh
@@ -9,10 +9,10 @@
9
readonly ERL=/home/kostis/HiPE/otp/bin/erl
10
export ERL_LIBS=/home/kostis/HiPE/proper
11
12
-${ERL}c -pa ${ERL_LIBS}/ebin +debug_info *.erl
+${ERL}c -pa ${ERL_LIBS}/ebin +debug_info ./*.erl
13
14
mkdir -p progs
15
-for i in $(seq 1 $1)
+for i in $(seq 1 "$1")
16
do
17
- $ERL -noshell -noinput -s minibasic_pp p -s erlang halt > progs/p$i.mba
+ $ERL -noshell -noinput -s minibasic_pp p -s erlang halt > progs/p"$i".mba
18
done
0 commit comments