Commit 7badc044 authored by Mikaël Salson's avatar Mikaël Salson
Browse files Search for $LAUNCHER either expanded or not.

If we find it, we don't add it at the beginning (see doc.)
parent 983efb70
......@@ -128,7 +128,7 @@ while read line; do
if [ ! -z "$LAUNCHER" -a -z "$NO_LAUNCHER" ]; then
# Yes, we should.
# Do we need to specify the place where LAUNCHER should be?
if [[ "$cmd" != *'$LAUNCHER'* ]]; then
if [[ "$cmd" != *'$LAUNCHER'* && "$cmd" != *"$LAUNCHER"* ]]; then
cmd="$LAUNCHER ""$cmd"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment