[csw-devel] SF.net SVN: gar:[5364] csw/mgar/pkg/autossh/trunk/files/autossh

skayser at users.sourceforge.net skayser at users.sourceforge.net
Thu Jun 25 23:14:58 CEST 2009


Revision: 5364
          http://gar.svn.sourceforge.net/gar/?rev=5364&view=rev
Author:   skayser
Date:     2009-06-25 21:14:58 +0000 (Thu, 25 Jun 2009)

Log Message:
-----------
autossh: made autossh wrapper /bin/sh compatible

Modified Paths:
--------------
    csw/mgar/pkg/autossh/trunk/files/autossh

Modified: csw/mgar/pkg/autossh/trunk/files/autossh
===================================================================
--- csw/mgar/pkg/autossh/trunk/files/autossh	2009-06-25 20:59:33 UTC (rev 5363)
+++ csw/mgar/pkg/autossh/trunk/files/autossh	2009-06-25 21:14:58 UTC (rev 5364)
@@ -3,9 +3,14 @@
 #
 # Adopted from Debian and adjusted for OpenCSW
 
-if [ ! $AUTOSSH_PORT ]; then export AUTOSSH_PORT="21021"; fi
+if [ ! "$AUTOSSH_PORT" ]; then 
+    AUTOSSH_PORT="21021"; 
+    export AUTOSSH_PORT
+fi
+
 if [ -f /opt/csw/bin/ssh ]; then 
-    export AUTOSSH_PATH=/opt/csw/bin/ssh
+    AUTOSSH_PATH=/opt/csw/bin/ssh
+    export AUTOSSH_PATH
 fi
 
 exec /opt/csw/libexec/autossh/autossh "$@"


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list