mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-28 16:58:03 +01:00
clean up
This commit is contained in:
parent
6558fb41f1
commit
8b77877d6b
1 changed files with 2 additions and 0 deletions
|
@ -104,6 +104,8 @@ if [ ${#COMMITHASH} -gt 0 ]; then
|
|||
echo "# actual(${actualCOMMITHASH}) ?= wanted(${COMMITHASH})"
|
||||
matches=$(echo "${actualCOMMITHASH}" | grep -c "${COMMITHASH}")
|
||||
if [ ${matches} -eq 0 ]; then
|
||||
cd ..
|
||||
rm -rf raspiblitz 2>/dev/null
|
||||
echo "error='COMMITHASH of branch does not match'"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue