Skip to content

Commit 58d6457

Browse files
author
rouson
committed
Add build script ftp-url function usage info
1 parent 622fc4a commit 58d6457

File tree

1 file changed

+9
-1
lines changed
  • install_prerequisites

1 file changed

+9
-1
lines changed

install_prerequisites/build

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,14 @@ set_url()
257257

258258
}
259259

260+
# Download a file from an anonymous ftp site
261+
#
262+
# Usage:
263+
# ftp-url <ftp-mode> <ftp-site-address>:/<path-to-file>/<file-name>
264+
#
265+
# Example:
266+
# ftp-url -n ftp.gnu.org:/gnu/m4/m4-1.4.17.tar.bz2
267+
260268
ftp-url()
261269
{
262270
ftp_mode=$1
@@ -285,7 +293,7 @@ get "$FILE_NAME"
285293
bye
286294
Done-ftp
287295

288-
echo "$this_script: finished anonymous ftp"
296+
echo "$this_script: finished anonymous ftp"
289297
}
290298

291299
# Download pkg-config if the tar ball is not already in the present working directory

0 commit comments

Comments
 (0)