Verbosify cookie_daemon.py
[uzbl-mobile] / examples / data / uzbl / scripts / session.sh
index 4dbae55..22d48a2 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 # Very simple session manager for uzbl.  When called with "endsession" as the
 # argument, it'll backup $sessionfile, look for fifos in $fifodir and
@@ -26,7 +26,7 @@ fi
 
 case $act in
   "launch" )
-    urls=$(cat $sessionfile)
+    urls=`cat $sessionfile`
     if [ "$urls." = "." ]; then
       $UZBL
     else
@@ -60,4 +60,3 @@ case $act in
       echo " endsession        - Quit the running session. Must be called from uzbl"
       ;;
 esac
-