]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: tweak async & asyncregress.sh to exclude core and .gdb_history
authorAlain Spineux <alain@baculasystems.com>
Thu, 20 Oct 2022 13:55:34 +0000 (15:55 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:59 +0000 (13:56 +0200)
regress/scripts/async.sh
regress/scripts/asyncregress.sh

index 2d1182be701f5025f872f31e6547c21e9548149a..e2e1eab9a06d8b61e825112cfbf4b0a38188e8f4 100755 (executable)
@@ -54,7 +54,7 @@ fi
 
 #rsync -av ${BACULA_SOURCE}/ build/ --exclude examples/ --exclude patches/ --exclude src/win32 || die "rsync failed"
 echo rsyncing ...
-rsync -av --stats --exclude examples/ --exclude patches/ --exclude src/win32 --exclude src/config.h --exclude src/hosts.h --exclude src/version.h --include '*/' --include "*.c" --include "*.cc" --include '*.cpp' --include '*.h' --exclude '*' ${BACULA_SOURCE}/ build/ 2>&1 || die "rsync failed"
+rsync -av --stats --exclude core --exclude .gdb_history --exclude examples/ --exclude patches/ --exclude src/win32 --exclude src/config.h --exclude src/hosts.h --exclude src/version.h --include '*/' --include "*.c" --include "*.cc" --include '*.cpp' --include '*.h' --exclude '*' ${BACULA_SOURCE}/ build/ 2>&1 || die "rsync failed"
 
 if grep "Number of files transferred: 0" tmp/rsync.log > /dev/null && check_bin bin; then
    echo "No Changes in sources"
index 10f37d52daa2935840314c3bd4bdd6f40e5fa553..0c342832edc1e73e9358b5c3af21a69a81375393 100755 (executable)
@@ -26,5 +26,5 @@ for d in scripts tests win32 ; do
    rsync -av ${src}/ ${d}/ 
 done
 # rsync the top of regress/ directory
-rsync -dlptgoDv --exclude config ${regress_dir}/* .
+rsync -dlptgoDv --exclude core --exclude .gdb_history --exclude config ${regress_dir}/* .