Iterate on docker-stacks

This commit is contained in:
Joey Hafner 2023-10-10 15:53:32 -07:00
parent 98196d8ee3
commit 30f1dc6ae0

View File

@ -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