diff options
author | Tatsuya Kinoshita <tats@vega.ocn.ne.jp> | 2011-05-04 07:03:29 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@vega.ocn.ne.jp> | 2011-05-04 07:03:29 +0000 |
commit | 9090972ad669cb40634a2d9e683953a4e20af34d (patch) | |
tree | 24c4d8d1765857bbb0b25d3f1123e602c300f04d /debian/w3m.sh | |
parent | Releasing debian version 0.1.10+0.1.11pre+kokb23-4 (diff) | |
download | w3m-9090972ad669cb40634a2d9e683953a4e20af34d.tar.gz w3m-9090972ad669cb40634a2d9e683953a4e20af34d.zip |
Releasing debian version 0.3-2.4debian/0.3-2.4
Diffstat (limited to '')
-rw-r--r-- | debian/w3m.sh | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/debian/w3m.sh b/debian/w3m.sh index bc9588d..7c9c47b 100644 --- a/debian/w3m.sh +++ b/debian/w3m.sh @@ -1,30 +1,8 @@ -#!/bin/bash +#!/bin/sh # Copyright (c) 1999 Fumitoshi UKAI <ukai@debian.or.jp> # Copyright (c) 1999 Jacobo Tarrio Barreiro <jtarrio@iname.com> # This program is covered by the GNU General Public License version 2 # -unset params - -while [ $# -gt 0 ] -do - case "$1" in - -t | -l | -T | -bookmark | -cols | -ppc | -o | -config) - params[${#params[@]}]="$1" - params[${#params[@]}]="$2" - shift ;; - -* | +* | *://*) - params[${#params[@]}]="$1" - ;; - *) - if [ -f "$1" -o -d "$1" ] - then - params[${#params[@]}]="$1" - else - params[${#params[@]}]="http://$1" - fi ;; - esac - shift -done ## for I18N variants, not yet: try w3mmee #W3M=${W3M:-/usr/bin/w3m-ssl-i18n} @@ -49,4 +27,5 @@ case X"$locale" in [ -x /usr/bin/w3m-ssl-en ] && W3M=/usr/bin/w3m-ssl-en ;; esac -exec $W3M "${params[@]}" +exec $W3M "$@" + |