From 24b6e7b1610eff30c3ee63923a0dc42a1d86c870 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Mon, 1 Mar 2004 18:11:16 +0000 Subject: [PATCH] When using "ftp" command, set its stdin to /dev/null. Non-interactive ftp will handle it, interactive ftp will fail rather than stop. --- build-glib1.sh | 2 +- build-glib2.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build-glib1.sh b/build-glib1.sh index e80af2b9a..2b7db4422 100755 --- a/build-glib1.sh +++ b/build-glib1.sh @@ -30,7 +30,7 @@ get_file() { curl --remote-name "$1" || \ wget --passive-ftp "$1" || \ wget "$1" || \ - ftp "$1" || \ + ftp "$1"