From f4f95da364477345710181e9b44f5b4a9bb577f0 Mon Sep 17 00:00:00 2001 From: martynas <> Date: Fri, 7 Aug 2009 09:05:24 +0000 Subject: [PATCH] fix ksh ftp wrapper so argvs aren't split before passing; making urls with spaces work. ok sthen@ --- src/etc/ksh.kshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/ksh.kshrc b/src/etc/ksh.kshrc index 53d72c5d..2acb6299 100644 --- a/src/etc/ksh.kshrc +++ b/src/etc/ksh.kshrc @@ -1,5 +1,5 @@ : -# $OpenBSD: ksh.kshrc,v 1.13 2008/08/24 15:22:08 jmc Exp $ +# $OpenBSD: ksh.kshrc,v 1.14 2009/08/07 09:05:24 martynas Exp $ # # NAME: # ksh.kshrc - global initialization for ksh @@ -98,7 +98,7 @@ case "$-" in alias stripe='label "$USER@$HOST ($tty) - $PWD"' alias istripe='ilabel "$USER@$HOST ($tty)"' - wftp () { ilabel "ftp $*"; "ftp" $*; eval istripe; } + wftp () { ilabel "ftp $*"; "ftp" "$@"; eval istripe; } wcd () { \cd "$@" && eval stripe; } wssh () {