From aa0e92335a096b622238a4aa871ed36a998ff05c Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 25 Jan 2010 12:13:59 +0000 Subject: Quote a var git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@441 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- publish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'publish') diff --git a/publish b/publish index d5b4876..43d5b43 100755 --- a/publish +++ b/publish @@ -169,7 +169,7 @@ while [ "$#" -gt 0 ]; do file="$1" shift - uri="$base_http/$d_server_http_base/$( echo -n "`basename $file`" | uri_encode )" + uri="$base_http/$d_server_http_base/$( echo -n "`basename "$file"`" | uri_encode )" trail="" if [ "$only_one" = 1 ]; then -- cgit v1.2.3