diff --git a/upload.sh b/upload.sh index c1fe9ea..88fd1e8 100644 --- a/upload.sh +++ b/upload.sh @@ -13,7 +13,7 @@ _upload_html() { fi for f in $@;do remote_path=${f:1} - curl -H "$auth" -F "$remote_path=@$f" $url/api/upload + echo curl -H "$auth" -F "$remote_path=@$f" $url/api/upload done } @@ -54,7 +54,7 @@ else H) _help;; h) _upload_html $(find -name '*.html');; # Upload all html content r) _upload_html ./*.html;; # Upload all root html pages - f) _upload_html $1/*.html;;# Upload html in the spec'd folder + f) _upload_html $2/*.html;;# Upload html in the spec'd folder esac done popd > /dev/null