mirror of
https://github.com/iiab/iiab.git
synced 2025-02-14 12:12:12 +00:00
iiab-update: Permit /opt/iiab/iiab untracked files like adm-run-roles-tmp.yml
This commit is contained in:
parent
732ddf8011
commit
cdd94f84d9
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@
|
|||
fi
|
||||
|
||||
cd /opt/iiab/iiab
|
||||
if [[ $(git branch --show-current) != "master" || $(git status --porcelain) != "" ]]; then
|
||||
if [[ $(git branch --show-current) != "master" || $(git status --porcelain --untracked-files=no) != "" ]]; then # Permit detritus, e.g. untracked files like adm-run-roles-tmp.yml
|
||||
echo -e "\n\n\e[41;1mIn /opt/iiab/iiab, (1) 'git branch' MUST show current branch 'master' and (2) 'git status' must show NO MODIFIED FILES.\e[0m\n\n"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue