Skip to content
Snippets Groups Projects
Commit 1df0bc54 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Add status.sh script for checking git modifications

parent 36f8f5b5
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash
set -e
source config.sh
if [ $# = 0 ]
then
recipes="$(ls -1 recipes)"
else
recipes="$@"
fi
for recipe in $recipes
do
echo -e "\e[1m$recipe\e[0m"
if [ -d "recipes/$recipe/source/.git" ]
then
git -C "recipes/$recipe/source" status -s
fi
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment