Iterate on docker-stacks
This commit is contained in:
parent
98196d8ee3
commit
30f1dc6ae0
@ -36,6 +36,11 @@ function main {
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ ! $COMMAND ]; then
|
||||||
|
echo "Error: no command specified"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
for stack in "$STACKS_DIRECTORY"/* ; do
|
for stack in "$STACKS_DIRECTORY"/* ; do
|
||||||
cd $stack
|
cd $stack
|
||||||
if [ $NAS_ONLY ] || [ $LINT ]; then
|
if [ $NAS_ONLY ] || [ $LINT ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user