call util/check-changes in setup

(cherry picked from commit c0e69cc406)
This commit is contained in:
Mark Andrews 2018-06-05 11:49:38 +10:00 committed by Evan Hunt
parent 3aed431969
commit 7e6d697b79
2 changed files with 2 additions and 1 deletions

View file

@ -140,6 +140,7 @@ precheck:debian:sid:amd64:
<<: *debian_sid_amd64_image
stage: precheck
script:
- perl util/check-changes CHANGES
- perl -w util/merge_copyrights
- diff -urNap util/copyrights util/newcopyrights
- rm util/newcopyrights

View file

@ -19,7 +19,7 @@ eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
# this emulates #! processing on NIH machines.
# (remove #! line above if indigestible)
$master = 1;
$master = 0;
eval '$'.$1.'$2;' while $ARGV[0] =~ /^([A-Za-z_0-9]+=)(.*)/ && shift;
# process any FOO=bar switches