mirror of
https://github.com/containers/skopeo.git
synced 2025-04-27 19:05:32 +00:00
On FreeBSD, bash lives in /usr/local/bin/bash. These scripts don't really depend on bash so could be changed to /bin/sh. Signed-off-by: Doug Rabson <dfr@rabson.org>
14 lines
223 B
Bash
Executable File
14 lines
223 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
STATUS=$(git status --porcelain)
|
|
if [[ -z $STATUS ]]
|
|
then
|
|
echo "tree is clean"
|
|
else
|
|
echo "tree is dirty, please commit all changes and sync the vendor.conf"
|
|
echo ""
|
|
echo "$STATUS"
|
|
exit 1
|
|
fi
|