summaryrefslogtreecommitdiff
path: root/publish
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2010-01-25 12:13:59 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2010-01-25 12:13:59 +0000
commitaa0e92335a096b622238a4aa871ed36a998ff05c (patch)
treedd3ca3618d13df547ae11f50ff424ea494ce9b36 /publish
parentd51e9c9158381ac52dc1a47ea5f30ac057ee66a5 (diff)
Quote a var
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@441 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'publish')
-rwxr-xr-xpublish2
1 files changed, 1 insertions, 1 deletions
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