fix export_generator shell script (#1223)

* fix export_generator shell script

* fix script with bash

* use bash instead of sh
This commit is contained in:
Dec12 | Fujigon
2018-10-14 22:11:59 +09:00
committed by William Cheng
parent 34409bc0d8
commit fbd4411b22
16 changed files with 131 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
SCRIPT="$0"
echo "# START SCRIPT: $SCRIPT"
@@ -8,4 +8,4 @@ executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
for GENERATOR in $(java -jar $executable list --short | sed -e 's/,/\'$'\n''/g')
do
./bin/utils/export_generator.sh $GENERATOR
done
done