OSSP CVS Repository

ossp - Difference in ossp-pkg/svs/svs.sh versions 1.2 and 1.3
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/svs/svs.sh 1.2 -> 1.3

--- svs.sh       2004/12/16 16:39:37     1.2
+++ svs.sh       2004/12/17 09:52:08     1.3
@@ -57,7 +57,11 @@
 
             #   edit file
             chmod u+w $file
-            ${EDITOR-vi} $file
+            if [ ".${EDITOR-vi}" = .vim -a -f $file.rej ]; then
+                ${EDITOR-vi} -o2 $file $file.rej
+            else
+                ${EDITOR-vi} $file
+            fi
 
             #   check for editing results
             if cmp $file.orig $file >/dev/null 2>&1; then

CVSTrac 2.0.1