]> gitweb.fluxo.info Git - utils-x11.git/commitdiff
Fix firefox CreateProfile syntax
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 9 Mar 2019 13:30:20 +0000 (10:30 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 9 Mar 2019 13:30:20 +0000 (10:30 -0300)
firefox-profile

index 2490c85389a83115eef7f2dcdd8140093c0ac9c4..a738edeb35d62f013f300462a8ffecb288fdadd7 100755 (executable)
@@ -18,7 +18,7 @@ if [ ! -z "$1" ] && [ "$1" != "template" ]; then
   if [ -d "$PROFILES/$1" ]; then
     firefox -p $1 -new-instance &
   else
-    firefox -CreateProfile $1 $PROFILES/$1
+    firefox -CreateProfile "$1 $PROFILES/$1"
 
     if [ -d "$PROFILES/template" ]; then
       rm -rf $PROFILES/$1 && cp -a $PROFILES/template $PROFILES/$1