diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2000-03-09 17:29:00 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2000-03-09 17:29:00 +0000 |
commit | 20e6c5f949776f2571390c7037a2c810681d08ee (patch) | |
tree | 2d75dcd999fc45e97018550833d0b4838e9f8084 /bin/make_release | |
parent | 4c0eafa2eeba116fd94e2d54b3a0f280ce56320d (diff) | |
download | ATCD-20e6c5f949776f2571390c7037a2c810681d08ee.tar.gz |
ChangeLogTag:Thu Mar 9 09:23:10 2000 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'bin/make_release')
-rwxr-xr-x | bin/make_release | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/make_release b/bin/make_release index d9bf08b580a..2d764e9b09c 100755 --- a/bin/make_release +++ b/bin/make_release @@ -618,6 +618,7 @@ sub create_kit () { my $checksum = $install ? "$md5sum" : 'echo'; my $cksum_ext = 'md5'; my $redirect = $install ? '>' : '\>'; + my $shell_cd = $install ? 'cd' : 'echo cd'; # These files don't get LF->CRLF conversions done when making the zip. my $bin_files = @@ -692,10 +693,10 @@ sub create_kit () { # being installed in the FTP directory since it will expand to # `created/ACE.tar.gz', for example. No big deal, I guess. my $checksum_command = - "for p in $archives; do " . + "$shell_cd $dest; " . + "for p in $archives; do " . "$rm \${p}.${cksum_ext}; " . - "$checksum $dest/\$p $redirect \${p}.${cksum_ext}; " . - "$dispose \${p}.${cksum_ext} $dest; " . + "$checksum \$p $redirect \${p}.${cksum_ext}; " . "done"; &ex ($build_command); |