lilalo
diff l3bashrc @ 118:73fb48eb8110
typo fixed
author | igor |
---|---|
date | Mon Mar 10 16:35:37 2008 +0200 (2008-03-10) |
parents | 658b4ea105c1 |
children | 71bd999bcb04 |
line diff
1.1 --- a/l3bashrc Sun Mar 09 02:38:56 2008 +0200 1.2 +++ b/l3bashrc Mon Mar 10 16:35:37 2008 +0200 1.3 @@ -182,7 +182,6 @@ 1.4 unset `set | grep '^_l3_.*=' | sed 's/=.*//'` 1.5 } 1.6 1.7 - 1.8 l3shot() 1.9 { 1.10 if [ -x "`which xwd`" ] 1.11 @@ -193,7 +192,7 @@ 1.12 [ -d ${_l3_home} ] || mkdir -p ${_l3_home} 1.13 xwd -out "$_l3_home/$shot_name" \ 1.14 && echo Screenshot is written to ${_l3_home}/${shot_name} \ 1.15 - && curl -s -F photo=@$_l3_home/$shot_name http://xgu.ru/l3-upload 1.16 + && curl -s -F photo=@$_l3_home/$shot_name http://`l3-config backend_address`/l3-upload 1.17 else 1.18 { 1.19 echo 1.20 @@ -228,7 +227,7 @@ 1.21 cp $source /tmp/$target 1.22 fi 1.23 echo Uploaded file name is ${target} 1.24 - curl -s -F photo=@/tmp/$target http://xgu.ru/l3-upload && rm -f /tmp/$target 1.25 + curl -s -F photo=@/tmp/$target http://`l3-config backend_address`/l3-upload && rm -f /tmp/$target 1.26 fi 1.27 } 1.28