From 5e163c081ca5d91990ae4626faf5375a3ba63c80 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 18 Aug 2017 10:46:03 +0200 Subject: reproducible: do not append .html twice to this file postgresql_autodoc appens .html to the file name passed as option, so done as was done until now it created a file named reproducibledb.html.html. Signed-off-by: Mattia Rizzolo --- bin/reproducible_maintenance.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index 202f8911..991f0a76 100755 --- a/bin/reproducible_maintenance.sh +++ b/bin/reproducible_maintenance.sh @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 2014-2017 Holger Levsen -# © 2015 Mattia Rizzolo +# © 2015-2017 Mattia Rizzolo # released under the GPLv=2 DEBUG=false @@ -47,8 +47,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then ln -s -f "$BACKUPFILE.xz" $BASE/reproducible.sql.xz # recreate documentation of database - SCHEMAFILE="$BASE/reproducibledb.html" - postgresql_autodoc -d $PGDATABASE -t html -f "$SCHEMAFILE" + postgresql_autodoc -d $PGDATABASE -t html -f "$BASE/reproducibledb" fi fi -- cgit v1.2.3-54-g00ecf