diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-15 21:23:51 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-15 21:23:51 +0000 |
commit | 64eb4e5e19781f0b30565033fef23c4d3b88efab (patch) | |
tree | 24c5c31aa2f841af586f7e70543b3301e2cf1cdd /bin/make_release | |
parent | 7ed3669ae1a2c2127d2a8dd736027b95b5f596c9 (diff) | |
download | ATCD-64eb4e5e19781f0b30565033fef23c4d3b88efab.tar.gz |
redirect error output of cvs checkout to stdout, so that new directories
must be added to the staging workspace before creating the release.
Diffstat (limited to 'bin/make_release')
-rwxr-xr-x | bin/make_release | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/make_release b/bin/make_release index db0cd14102f..0bc30ceeb2e 100755 --- a/bin/make_release +++ b/bin/make_release @@ -173,7 +173,7 @@ sub check_workspace () { } my @out_of_date = (); - open (CVS, "$cvs -nq checkout $module |") || + open (CVS, "$cvs -nq checkout $module 2>&1 |") || die "$0: unable to open $cvs\n"; while (<CVS>) { next if m%^U %; #### Allow others to update the repository. @@ -188,7 +188,8 @@ sub check_workspace () { } if (! "$exec_prefix" && @out_of_date) { - warn "ERROR: workspace must be updated or cleaned:\n " . + warn "ERROR: workspace must be updated (with cvs -q up -d) or " . + "cleaned:\n " . join ("\n ", @out_of_date) . "\n"; return 1; } |