From dee6ff6a080611c80ca06e97cae1a2aa51f27769 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Fri, 2 Feb 2018 21:12:31 -0500 Subject: [PATCH] change default desc limit to 72 chars --- man8/snap-pac.8 | 2 +- scripts/snap-pac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man8/snap-pac.8 b/man8/snap-pac.8 index 9a4bc18..9c89ca2 100644 --- a/man8/snap-pac.8 +++ b/man8/snap-pac.8 @@ -51,7 +51,7 @@ Default is "no". .RS 4 Number of characters to limit length of descriptions used for snapper. -Default is "256". +Default is "72". .RE \fBLINK_MODULES=\fR\fB\fIyes\fR\fR\fB or \fR\fB\fIno\fR\fR diff --git a/scripts/snap-pac b/scripts/snap-pac index ca224d3..c66e355 100755 --- a/scripts/snap-pac +++ b/scripts/snap-pac @@ -93,7 +93,7 @@ SNAPPER_CONFIGS=$(awk -F'=' '/SNAPPER_CONFIGS/ {gsub(/"/, "", $2); print $2}' "$ read_config "$SNAPPAC_CONFIG_FILE" -readonly DESC_LIMIT=${DESC_LIMIT:-256} +readonly DESC_LIMIT=${DESC_LIMIT:-72} readonly ABORT_ON_FAIL=${ABORT_ON_FAIL:-"no"} readonly LINK_MODULES=${LINK_MODULES:-"no"} readonly KERNEL_PACKAGE=${KERNEL_PACKAGE:-"linux"}