Add quoting to invocation of sed in "sparkleshare open" to avoid

sed: -e expression #1, char 18: unknown option to `s'
This commit is contained in:
Jo Shields 2013-06-13 14:07:51 +01:00
parent c398e3d533
commit d674ccbcb7

View file

@ -63,7 +63,7 @@ case $1 in
;;
open|--open)
invite=`date -u +%N`
open=`echo $2 | sed s/sparkleshare:\/\/addProject//`
open=`echo $2 | sed 's/sparkleshare:\/\/addProject//'`
curl --insecure --output ~/SparkleShare/$invite.xml $open
;;
*)