aboutsummaryrefslogtreecommitdiff
path: root/samples/textbox2
diff options
context:
space:
mode:
Diffstat (limited to 'samples/textbox2')
-rwxr-xr-xsamples/textbox26
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/textbox2 b/samples/textbox2
index 7c97de8cb38a..d4149b3c6095 100755
--- a/samples/textbox2
+++ b/samples/textbox2
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: textbox2,v 1.8 2010/01/13 10:36:49 tom Exp $
+# $Id: textbox2,v 1.10 2020/11/26 00:05:52 tom Exp $
. ./setup-vars
@@ -35,10 +35,10 @@ EOF
TEXT=/usr/share/common-licenses/GPL
test -f $TEXT || TEXT=../COPYING
-cat $TEXT | expand >> $tempfile
+expand < $TEXT >> $tempfile
$DIALOG --clear --title "TEXT BOX" "$@" --textbox "$tempfile" 0 0
-retval=$?
+returncode=$?
. ./report-button