summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2003-07-31 08:10:36 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2003-07-31 08:10:36 +0000
commit841e39c7e814589e16825a80ccb3368b95a020a1 (patch)
treee857bc4abe25e03bba9e27b16530af75456e87e2
parent1c8fa932b8353236a15118a2491f738d0285d045 (diff)
Wrap a long line
ok deraadt@
-rw-r--r--usr.bin/compress/gzexe7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/compress/gzexe b/usr.bin/compress/gzexe
index 5d02acaad24..edffccfde88 100644
--- a/usr.bin/compress/gzexe
+++ b/usr.bin/compress/gzexe
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: gzexe,v 1.1 2003/07/31 07:33:55 otto Exp $
+# $OpenBSD: gzexe,v 1.2 2003/07/31 08:10:35 otto Exp $
#
# Copyright (c) 2003 Otto Moerbeek <otto@drijf.net>
#
@@ -18,7 +18,7 @@
#
# The number of lines plus one in the on-the-fly decompression script
-lines=18
+lines=19
# A simple string to recognize already compressed files
magic="# compressed by gzexe"
@@ -38,7 +38,8 @@ header () {
/bin/echo "$prog: cannot create tmp dir"; exit 1
}
trap '/bin/rm -rf "$tmp"' 0
- if /usr/bin/tail +$lines "$0" | /usr/bin/gzip -dc > "$tmp/$prog" 2> /dev/null; then
+ if /usr/bin/tail +$lines "$0" |
+ /usr/bin/gzip -dc > "$tmp/$prog" 2> /dev/null; then
/bin/chmod u+x "$tmp/$prog"
"$tmp/$prog" ${1+"$@"}
ret=$?