From f6dc360f22f85a552904b5bf3d96950044e49065 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Tue, 12 Sep 2023 13:03:14 -0500 Subject: [PATCH] Require new databases have a commnt --- make_files/make_db.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/make_files/make_db.mk b/make_files/make_db.mk index 2f91eda..1a7a079 100644 --- a/make_files/make_db.mk +++ b/make_files/make_db.mk @@ -548,6 +548,9 @@ init-database: [ -n "$(TARGET_DB)" ] \ || { printf 'The TARGET_DB variable must be set\n' >&2 ; \ exit 1 ; } + [ -n "$(NEW_DESCRIPTION)" ] \ + || { printf 'The NEW_DESCRIPTION variable must be set\n' >&2 ; \ + exit 1 ; } $(CREATE_DB) ( $(PSQL_SETUP) \ printf '$(SET_SEARCH_PATH)\n' ; \ -- 2.34.1