X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fpatches%2Ftesting%2Fmake_catalog_backup.pl.in;h=f3efec2f343d362ec0dd24a0bd0307a2838a4bb3;hb=697f2ec4fa472842edb1f756ff686cd3ac26fe61;hp=606890f9c0d39bb46d157d4b4e6a3c25cffbe971;hpb=f5f932b514cb7c676df9ca5b962c90d827e67b6a;p=bacula%2Fbacula diff --git a/bacula/patches/testing/make_catalog_backup.pl.in b/bacula/patches/testing/make_catalog_backup.pl.in index 606890f9c0..f3efec2f34 100644 --- a/bacula/patches/testing/make_catalog_backup.pl.in +++ b/bacula/patches/testing/make_catalog_backup.pl.in @@ -41,6 +41,8 @@ use strict; =cut +$ENV{PATH}="@SQL_BINDIR@:$ENV{PATH}"; + my $cat = shift or die "Usage: $0 catalogname"; my $dir_conf='@sbindir@/dbcheck -B -c @sysconfdir@/bacula-dir.conf'; my $wd = "@working_dir@";