summaryrefslogtreecommitdiff
path: root/Config
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2023-07-28 23:53:55 +0100
committerSadie Powell <sadie@witchery.services>2023-07-28 23:56:09 +0100
commit97f6aadd5bcfc9401080418f1ef5174bc007bc6d (patch)
treebefe648845a90306b11ee1ba7ba51974842e054c /Config
parent2dafc85af4bc51d4706b711dcb87f846a555af63 (diff)
Fix paging the Config header on some util-linux revisions.
We use an environment variable here as passing -e directly may result in an error on older `more` releases.
Diffstat (limited to 'Config')
-rwxr-xr-xConfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/Config b/Config
index 925130ebc..089272c10 100755
--- a/Config
+++ b/Config
@@ -193,6 +193,7 @@ if [ ! "$NO_INTRO" ] ; then
clear
;;
esac
+ export MORE='-e'
. $SOURCE_DIR/src/version.sh
cat $SOURCE_DIR/.BANNER | sed "s/CURVER/$VERSION_MAJOR.$VERSION_MINOR.$VERSION_PATCH$VERSION_EXTRA/" | sed "s@SOURCE_DIR@$SOURCE_DIR@" | $PAGER
echo ""