From: Kern Sibbald Date: Wed, 23 Nov 2011 10:18:27 +0000 (+0100) Subject: Fix script to set mode of cats scripts X-Git-Tag: Release-7.0.0~445 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=19b1507a7cb05f358098e87dd032d4f5a4d6dc7a;p=bacula%2Fbacula Fix script to set mode of cats scripts --- diff --git a/bacula/Makefile.in b/bacula/Makefile.in index cd7434b66c..c970d91282 100755 --- a/bacula/Makefile.in +++ b/bacula/Makefile.in @@ -194,11 +194,11 @@ Makefiles: chmod 755 grant_bacula_privileges drop_bacula_tables drop_bacula_database; \ chmod 755 make_catalog_backup delete_catalog_backup) - (cd src/cats; \ - for db_type in @DB_BACKENDS@; do \ - chmod 755 create_$$db_type_database update_$$db_type_tables make_$$db_type_tables; \ - chmod 755 grant_$$db_type_privileges drop_$$db_type_tables drop_$$db_type_database; \ - done) + @for I in @DB_BACKENDS@ ; do \ + (cd src/cats; \ + chmod 755 create_$${I}_database update_$${I}_tables make_$${I}_tables; \ + chmod 755 grant_$${I}_privileges drop_$${I}_tables drop_$${I}_database); \ + done (cd src/qt-console; \ chmod 755 install_conf_file build-depkgs-qt-console)