small change to prevent "modules" to be modified twice, on the following
execution sequences: % easy-import -n foobaa % easy-import foobaa Reviewed by: joerg_wunsch@uriah.heep.sax.de
This commit is contained in:
parent
7d0bef9462
commit
2bcf4fcf21
@ -8,7 +8,7 @@
|
||||
#
|
||||
# Written by Jörg Wunsch, 95/03/07, and placed in the public domain.
|
||||
#
|
||||
# $Id: easy-import.pl,v 1.12 1997/02/22 15:45:12 peter Exp $
|
||||
# $Id: easy-import.pl,v 1.13 1997/06/09 10:08:07 jmg Exp $
|
||||
|
||||
require "complete.pl";
|
||||
require "getopts.pl";
|
||||
@ -22,7 +22,7 @@ sub scan_opts
|
||||
|
||||
$dont_do_it = "-n" if $opt_n;
|
||||
if($opt_v) {
|
||||
print STDERR '$Source: /home/ncvs/src/gnu/usr.bin/cvs/contrib/easy-import.pl,v $ $Revision: 1.12 $' . "\n"; # 'emacs kludge
|
||||
print STDERR '$Source: /home/ncvs/src/gnu/usr.bin/cvs/contrib/easy-import.pl,v $ $Revision: 1.13 $' . "\n"; # 'emacs kludge
|
||||
exit 0;
|
||||
}
|
||||
die "usage: $0 [-v] [-n] [moduledir]\n" .
|
||||
@ -374,7 +374,8 @@ if (!$branchimport) {
|
||||
"${modname} --> $area/${modpath}\" modules")
|
||||
&& die "Commit failed\n";
|
||||
|
||||
system("cvs $dont_do_it -Q release -d modules");
|
||||
# we always release "modules" to prevent duplicate
|
||||
system("cvs -Q release -d modules");
|
||||
}
|
||||
|
||||
print "${so}Importing source. Enter a commit message in the editor.${se}\n";
|
||||
|
Loading…
Reference in New Issue
Block a user