summaryrefslogtreecommitdiff
path: root/publish
diff options
context:
space:
mode:
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