summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cvs/lib
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-07-07 19:13:39 +0000
committerobrien <obrien@FreeBSD.org>2003-07-07 19:13:39 +0000
commit65d5f9df57f80aeb22a0990552b0979771fdebd3 (patch)
tree56f862950fc05d270ef4d27a1d06259122b7af84 /gnu/usr.bin/cvs/lib
parentf881e4543a99c455fab0faf59d0e103ef32c8113 (diff)
downloadFreeBSD-src-65d5f9df57f80aeb22a0990552b0979771fdebd3.zip
FreeBSD-src-65d5f9df57f80aeb22a0990552b0979771fdebd3.tar.gz
Only define a default editor if one isn't already defined.
Diffstat (limited to 'gnu/usr.bin/cvs/lib')
-rw-r--r--gnu/usr.bin/cvs/lib/config.h.proto2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/cvs/lib/config.h.proto b/gnu/usr.bin/cvs/lib/config.h.proto
index 3efc40f..adea888 100644
--- a/gnu/usr.bin/cvs/lib/config.h.proto
+++ b/gnu/usr.bin/cvs/lib/config.h.proto
@@ -38,7 +38,9 @@
absolute path to an executable, use the shell to find where the editor
actually is. This allows sites with /usr/bin/vi or /usr/ucb/vi to work
equally well (assuming that their PATH is reasonable). */
+#ifndef EDITOR_DFLT
#define EDITOR_DFLT "vi"
+#endif
/* Define to enable encryption support. */
/* #undef ENCRYPTION */
OpenPOWER on IntegriCloud