forked from loafle/openapi-generator-original
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:
committed by
William Cheng
parent
34409bc0d8
commit
fbd4411b22
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user