mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 19:08:52 +00:00
16 lines
261 B
Plaintext
16 lines
261 B
Plaintext
|
#!/bin/bash -e
|
||
|
|
||
|
for SCRIPT in ./bin/security/*.sh
|
||
|
do
|
||
|
if [ -f $SCRIPT -a -x $SCRIPT ]
|
||
|
then
|
||
|
$SCRIPT
|
||
|
rc=$?
|
||
|
if [[ $rc != 0 ]]
|
||
|
then
|
||
|
echo "ERROR!! FAILED TO RUN $SCRIPT"
|
||
|
exit $rc;
|
||
|
fi
|
||
|
fi
|
||
|
done
|