34ca43921b
ok matthieu
13 lines
205 B
Bash
Executable File
13 lines
205 B
Bash
Executable File
#!/bin/sh
|
|
|
|
variant=$1
|
|
|
|
INDIR=$2
|
|
OUTFILE=base.ml${variant}v${variant}_s.part
|
|
|
|
> $OUTFILE
|
|
|
|
awk '{
|
|
printf " * %s %s = +%s(%s):'${variant}'\n", $1, $2, $3, $4;
|
|
}' < $INDIR/variantsMapping.lst >> $OUTFILE
|