diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-24 15:24:50 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-24 15:24:50 +0000 |
commit | bb929d54e87ae46b9c604e1cdcf0121923a3ceeb (patch) | |
tree | e7c36835a93e3e48ce94bfb58037c9dab8d55268 /bin | |
parent | 95d134b604a5ad99705ee27999e91d64d6b993bd (diff) | |
download | ATCD-bb929d54e87ae46b9c604e1cdcf0121923a3ceeb.tar.gz |
1) inserted /pkg/gnu/bin at head of PATH, if it exists. That way, cvs
diff will use GNU diff. Thanks to Doug for tripping over that. 2)
changed grep -E to egrep.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/make_release | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/bin/make_release b/bin/make_release index 47a5de7e2cf..f8a2b794b57 100755 --- a/bin/make_release +++ b/bin/make_release @@ -27,6 +27,8 @@ $long_usage=" -? option prints this message\n" . ######## if (-d '/pkg/gnu/bin') { $gnu = '/pkg/gnu/bin/'; + #### Insert it at head of PATH, so that cvs diff uses GNU diff. + $ENV{'PATH'} = "/pkg/gnu/bin:" . $ENV{'PATH'}; } else { #### The default utilities had better be GNU. $gnu = ''; @@ -112,6 +114,7 @@ $chmod = '/bin/chmod'; $cpio = "${gnu}cpio"; $cvs = "${exec_prefix}${gnu}cvs"; $date = "${gnu}date"; +$egrep = "${gnu}egrep"; $find = "${gnu}find"; $gzip = "${gnu}gzip"; $mv = '/bin/mv'; @@ -358,16 +361,16 @@ sub create_kit () { if ($kit eq 'ace') { system ("$exec_prefix" . "$find $release_files $release_filter | " . - "grep -E \"\\.dsp|\\.dsw|\\.mak|\\.mdp|\\.exe\" | " . + "$egrep \"\\.dsp|\\.dsw|\\.mak|\\.mdp|\\.exe\" | " . "zip ACE.zip -q9@ &&" . "$find $release_files $release_filter | " . - "grep -vE \"\\.dsp|\\.dsw|\\.mak|\\.mdp|\\.exe\" | " . + "$egrep -v \"\\.dsp|\\.dsw|\\.mak|\\.mdp|\\.exe\" | " . "zip ACE.zip -qlg9@ &&" . "$find $release_lib_files $release_filter | " . - "grep -E \"\\.dsp|\\.dsw|\\.mak|\\.mdp|\\.exe\" | " . + "$egrep \"\\.dsp|\\.dsw|\\.mak|\\.mdp|\\.exe\" | " . "zip ACE-lib.zip -q9@ &&" . "$find $release_lib_files $release_filter | " . - "grep -vE \"\\.dsp|\\.dsw|\\.mak|\\.mdp|\\.exe\" | " . + "$egrep -v \"\\.dsp|\\.dsw|\\.mak|\\.mdp|\\.exe\" | " . "zip ACE-lib.zip -qlg9@ &&" . "$find $release_files $release_filter | $cpio -o -H tar | " . "$gzip -9 > ACE.tar.gz && " . @@ -379,10 +382,10 @@ sub create_kit () { } elsif ($kit eq 'ace+tao') { system ("$exec_prefix" . "$find $release_files $release_filter | " . - "grep -E \"\\.dsp|\\.dsw|\\.mak|\\.mdp|\\.exe\" | " . + "$egrep \"\\.dsp|\\.dsw|\\.mak|\\.mdp|\\.exe\" | " . "zip ACE+TAO.zip -q9@ &&" . "$find $release_files $release_filter | " . - "grep -vE \"\\.dsp|\\.dsw|\\.mak|\\.mdp|\\.exe\" | " . + "$egrep -v \"\\.dsp|\\.dsw|\\.mak|\\.mdp|\\.exe\" | " . "zip ACE+TAO.zip -qlg9@ &&" . "$find $release_files $release_filter | $cpio -o -H tar | " . "$gzip -9 > ACE+TAO.tar.gz && " . |