tfixed url - scripts - various script and utils
HTML git clone git://z3bra.org/scripts
DIR Log
DIR Files
DIR Refs
---
DIR commit 935757d1416d2f850bbf733536a2e7ab8e23ec04
DIR parent 8bb909ba0498c0f0178b59d05961750c0a5fcbf3
HTML Author: Willy Goiffon <w.goiffon@gmail.com>
Date: Tue, 24 Sep 2013 13:08:33 +0200
fixed url
Diffstat:
M upload | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/upload b/upload
t@@ -37,7 +37,7 @@ for f in $file; do
name=$(echo $f| sed 's@^.*/\([a-zA-Z0-9.]*\)$@\1@')
url="http://${base}/${ext}/${name}"
- scp ${host}:${path}/$ext/$name && echo $url
+ scp $file ${host}:${path}/$ext/$name && echo $url
done
[[ -f $tmpfile ]] && rm $tmpfile