=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/compress/gzexe,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- src/usr.bin/compress/gzexe 2003/07/31 07:33:55 1.1 +++ src/usr.bin/compress/gzexe 2003/07/31 08:10:35 1.2 @@ -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 # @@ -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 @@ /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=$?