summaryrefslogtreecommitdiff
path: root/makeself-header.sh
diff options
context:
space:
mode:
authorsephalon <me@sephalon.net>2018-03-08 20:24:10 +0100
committerStéphane Peter <megastep@megastep.org>2018-03-08 11:24:10 -0800
commitfc917f2cb82450347fe45b8f5e6ee0322f292f55 (patch)
treee76e1d3f923b1a334440b3909e7cf3b4d71a2db1 /makeself-header.sh
parent15c8e9bbe56bb6827f46b810d2c1dab90e54e400 (diff)
downloadmakeself-fc917f2cb82450347fe45b8f5e6ee0322f292f55.tar.gz
Improve handling of complex license texts (#126)
Escape all characters having a special meaning inside double quotes (fixes issue #82). In addition enable scrolling of long texts using more.
Diffstat (limited to 'makeself-header.sh')
-rwxr-xr-xmakeself-header.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/makeself-header.sh b/makeself-header.sh
index e020c81..8068613 100755
--- a/makeself-header.sh
+++ b/makeself-header.sh
@@ -50,7 +50,7 @@ MS_Printf()
MS_PrintLicense()
{
if test x"\$licensetxt" != x; then
- echo "\$licensetxt"
+ echo "\$licensetxt" | more
if test x"\$accept" != xy; then
while true
do