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
|
|