Skip to content

Commit 5e3a78a

Browse files
Br3ndaCopilot
andcommitted
fix to bash script
i think this was needed because of a bash upgrade Co-authored-by: Copilot <copilot@github.com>
1 parent 04124fb commit 5e3a78a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/morningupdate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ $VERBOSE && echo "Parsing from APH to XML and loading into the database"
5454
# ./xml2db.pl $CRONQUIET --recent --lordsdebates
5555
#./xml2db.pl $CRONQUIET --recent --ni --quiet
5656

57-
if [ -v "$XAPIANDB" ]; then
57+
if [ -n "$XAPIANDB" ]; then
5858
# Update Xapan index
5959
$VERBOSE && echo "Xapian indexing"
6060
../search/index.pl "$XAPIANDB" sincefile "$XAPIANDB/../searchdb-lastupdated" "$CRONQUIET_NODASH"

0 commit comments

Comments
 (0)