mirror of
https://github.com/rclone/rclone.git
synced 2026-01-18 16:33:23 +00:00
19 lines
276 B
Bash
Executable File
19 lines
276 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eu -o pipefail
|
|
|
|
dep ensure
|
|
|
|
DIFF_PATH="vendor/"
|
|
DIFF=$(git status --porcelain -- "$DIFF_PATH")
|
|
|
|
if [ "$DIFF" ]; then
|
|
echo
|
|
echo "These files were modified:"
|
|
echo
|
|
echo "$DIFF"
|
|
echo
|
|
exit 1
|
|
else
|
|
echo "$DIFF_PATH is correct"
|
|
fi
|