summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
801d4a7)
This is needed for -d to be passed to forbrun instead to libfcb.so.
-forbrun -i "org.frescor.fcb" -- libfcb.so "$@"
+while [ $# -gt 0 ]; do
+ case "$1" in
+ -d*|--daemon=)
+ FORBRUN_ARGS="$FORBRUN_ARGS $1";;
+ --daemon)
+ FORBRUN_ARGS="$FORBRUN_ARGS $1 $2"; shift;;
+ *)
+ FCB_ARGS="$FCB_ARGS '$1'"
+ esac
+ shift
+done
+
+forbrun -i "org.frescor.fcb" $FORBRUN_ARGS -- libfcb.so $FCB_ARGS