Skip to content

Commit

Permalink
Add -e to PAGER options. (#317)
Browse files Browse the repository at this point in the history
Added option -e to exit automatically after displaying licenses in more.
  • Loading branch information
ose-support-ros committed Nov 6, 2023
1 parent 7ed7219 commit 98b312a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makeself-header.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ MS_PrintLicense()
if test x"\$licensetxt" != x; then
PAGER_PATH=\`exec <&- 2>&-; which \$PAGER || command -v \$PAGER || type \$PAGER\`
if test -x "\$PAGER_PATH" && test x"\$accept" != xy; then
echo "\$licensetxt" | \$PAGER
echo "\$licensetxt" | \$PAGER -e
else
echo "\$licensetxt"
fi
Expand Down

0 comments on commit 98b312a

Please sign in to comment.