forked from PsychoticNinja/irssi
don't use if [ since it doesn't work, use if test..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1508 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
d9bf6afc0a
commit
a44d86e007
@ -324,10 +324,10 @@ if test "x$GLIB_DIR" = "x"; then
|
||||
glib_file=glib-1.2.10.tar.gz
|
||||
|
||||
dlcmd=
|
||||
if [ "x`ncftpget 2>/dev/null|grep -i ncftp`" != "x" ]; then
|
||||
if test "x`ncftpget 2>/dev/null|grep -i ncftp`" != "x"; then
|
||||
dlcmd="ncftpget ftp://ftp.gtk.org/pub/gtk/v1.2/$glib_file"
|
||||
fi
|
||||
if [ "x`wget 2>/dev/null|grep -i wget`" != "x" ]; then
|
||||
if test "x`wget 2>/dev/null|grep -i wget`" != "x"; then
|
||||
dlcmd="wget http://irssi.org/files/$glib_file"
|
||||
fi
|
||||
if test "x$dlcmd" != "x"; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user