summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrmanfredi <rmanfredi@190e5f8e-a817-0410-acf6-e9863daed9af>2006-11-04 12:11:51 +0000
committerrmanfredi <rmanfredi@190e5f8e-a817-0410-acf6-e9863daed9af>2006-11-04 12:11:51 +0000
commit77eb93c4ccf951215df03c028b6bc439a36e27b0 (patch)
tree5494755a9752dcc31de3d6a7268c14b09029cee6
parentbfaa8544c887ee9180df0c71aaafc19f467063fe (diff)
Taught metaxref to use MANIFEST if MANIFEST.new is missing.
git-svn-id: https://dist.svn.sourceforge.net/svnroot/dist/trunk/dist@16 190e5f8e-a817-0410-acf6-e9863daed9af
-rwxr-xr-xmcon/mxref.SH2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcon/mxref.SH b/mcon/mxref.SH
index 06206ee..8e52842 100755
--- a/mcon/mxref.SH
+++ b/mcon/mxref.SH
@@ -74,7 +74,7 @@ if ($opt_V) {
&usage;
}
-$NEWMANI = $opt_f || 'MANIFEST.new';
+$NEWMANI = $opt_f || (-f 'MANIFEST.new' ? 'MANIFEST.new' : 'MANIFEST');
&init; # Various initializations
`mkdir .MT 2>&1` unless -d '.MT'; # For private temporary files