]> gitweb.pimeys.fr Git - scripts-20-100.git/commitdiff
[persoit] Maintenant je peux faire persoit HowTo/unicode
authorVincent Le Gallic <legallic@crans.org>
Wed, 29 Jan 2014 00:29:24 +0000 (01:29 +0100)
committerVincent Le Gallic <legallic@crans.org>
Wed, 29 Jan 2014 00:29:24 +0000 (01:29 +0100)
persoit.sh

index b5ccebb5b6a8ba8f396c5c540630dc150e7a7bf0..aa267e1c848fb14de1ae0c99715d9e79578b6feb 100755 (executable)
@@ -12,6 +12,8 @@
 
 USER=legallic
 
-scp $1 zamok:www/$1
+filename=`basename $1`
 
-echo https://perso.crans.org/$USER/$1
+scp $1 zamok:www/${filename}
+
+echo https://perso.crans.org/$USER/${filename}