regression fix: different command syntax for setting uris
authorDieter Plaetinck <dieter@plaetinck.be>
Sat, 16 May 2009 07:44:44 +0000 (09:44 +0200)
committerDieter Plaetinck <dieter@plaetinck.be>
Sat, 16 May 2009 07:44:44 +0000 (09:44 +0200)
examples/scripts/load_url_from_bookmarks.sh
examples/scripts/load_url_from_history.sh

index 032c8fe..2d19067 100755 (executable)
@@ -15,5 +15,5 @@ else
 fi
 
 goto=`awk '{print $1}' $file | $DMENU` #NOTE: it's the job of the script that inserts bookmarks to make sure there are no dupes.
-#[ -n "$goto" ] && echo "uri $goto" > $4
-[ -n "$goto" ] && uzblctrl -s $5 -c "uri $goto"
+#[ -n "$goto" ] && echo "cmd uri $goto" > $4
+[ -n "$goto" ] && uzblctrl -s $5 -c "cmd uri $goto"
index aef7739..9dd56d2 100755 (executable)
@@ -14,5 +14,5 @@ fi
 
 # choose from all entries, the first one being current url, and after that all others, sorted and uniqued.
 current=`tail -n 1 $history_file | awk '{print $3}'`; goto=`(echo $current; awk '{print $3}' $history_file | grep -v "^$current\$" | sort -u) | $DMENU`
-#[ -n "$goto" ] && echo "uri $goto" > $4
-[ -n "$goto" ] && uzblctrl -s $5 -c "uri $goto"
+#[ -n "$goto" ] && echo "cmd uri $goto" > $4
+[ -n "$goto" ] && uzblctrl -s $5 -c "cmd uri $goto"