]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix build script copyright detection
authorKern Sibbald <kern@sibbald.com>
Thu, 11 Jun 2020 15:16:47 +0000 (17:16 +0200)
committerKern Sibbald <kern@sibbald.com>
Thu, 11 Jun 2020 15:16:47 +0000 (17:16 +0200)
bacula/release/makebacularel

index e3b1b33a6d027855fbd0b951cc8dad203aac0e21..165582d49d3eb89c7efb6d3601946fe2abb88e81 100755 (executable)
@@ -99,7 +99,7 @@ cd $base_pkg-$ver/bacula
 cp -fp ReleaseNotes ChangeLog src/version.h ${cwd}/
 cp -fp LICENSE* ${cwd}/
 grep -R -a --exclude-dir=testprogs "Copyright.*Bacula Systems" *
-if [ $? = 0 ] ; then
+if [ $? != 1 ] ; then
   echo "fatal: !!!!! Bacula Systems Copyrights detected !!!!!"
   exit
 fi