]> source.dussan.org Git - archiva.git/commitdiff
remove extra logic
authorCarlos Sanchez Gonzalez <carlos@apache.org>
Thu, 24 Aug 2006 18:17:31 +0000 (18:17 +0000)
committerCarlos Sanchez Gonzalez <carlos@apache.org>
Thu, 24 Aug 2006 18:17:31 +0000 (18:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@434455 13f79535-47bb-0310-9956-ffa450edef68

maven-meeper/src/bin/m2-sync/m2-sync.sh

index a2cdfbb48ca679357acc17e35c6c74e14a798e6c..aab66459c8a2e67745b72ce73829383a4755c151 100755 (executable)
@@ -34,12 +34,7 @@ for f in `find conf -iname "*.sh"`
 
   if [ -z $NO_SSH ]
   then
-    if [ -z $SSH_OPTS ]
-    then
-      RSYNC_SSH="--rsh=ssh"
-    else
-      RSYNC_SSH="--rsh=ssh $SSH_OPTS"
-    fi
+    RSYNC_SSH="--rsh=ssh $SSH_OPTS"
   fi
 
   echo "Syncing $FROM -> $TO"