]> code.delx.au - pulseaudio/blobdiff - src/daemon/esdcompat.in
Fix up some double spaces
[pulseaudio] / src / daemon / esdcompat.in
index 673f8c8ac71823554ba9877de4aa32c6831d5e35..41a12a02e0c116329e4239216e9a16a4802689b6 100755 (executable)
@@ -1,7 +1,5 @@
 #!/bin/sh
 
-# $Id$
-#
 # This file is part of PulseAudio.
 #
 # PulseAudio is free software; you can redistribute it and/or modify
@@ -28,7 +26,7 @@ fail() {
 
 ARGS=" --log-target=syslog"
 
-for N in $(seq $#) ; do
+while [ "$#" -gt "0" ]; do
 
     case "$1" in
         "")
@@ -61,7 +59,7 @@ Ignored directives:
   -terminate    terminate esd daemone after last client exits
   -nobeeps      disable startup beeps
   -trust        start esd even if use of /tmp/.esd can be insecure
-  -port PORT   listen for connections at PORT (only for tcp/ip)
+  -port PORT    listen for connections at PORT (only for tcp/ip)
   -bind ADDRESS binds to ADDRESS (only for tcp/ip)
 EOF
             exit 0
@@ -95,4 +93,4 @@ EOF
     shift
 done
 
-eval "exec '@POLYPAUDIO_BINARY@'$ARGS"
+eval "exec '@PA_BINARY@'$ARGS"