1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:14:47 +02:00

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.
This commit is contained in:
Sadie Powell
2023-07-28 23:53:55 +01:00
parent 2dafc85af4
commit 97f6aadd5b
+1
View File
@@ -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 ""