mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 08:42:57 -04:00
modification-check.sh now fails if a command fails (#4746)
This commit is contained in:
parent
4146685104
commit
4a0c336484
1 changed files with 2 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/bash -e
|
||||
|
||||
temp_dir=`mktemp -d`
|
||||
trap "rm -rf $temp_dir" EXIT
|
||||
|
|
@ -43,9 +43,7 @@ cp ${temp_dir}/original-lea letsencrypt-auto-source/letsencrypt-auto
|
|||
|
||||
cd $temp_dir
|
||||
|
||||
cmp -s original-lea build-lea
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
if ! cmp -s original-lea build-lea; then
|
||||
echo "letsencrypt-auto-source/letsencrypt-auto doesn't match output of \
|
||||
build.py."
|
||||
FLAG=true
|
||||
|
|
|
|||
Loading…
Reference in a new issue