mirror of
https://github.com/certbot/certbot.git
synced 2026-07-24 23:03:42 +02:00
modification-check.sh now fails if a command fails (#4746)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user