diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-01-29 11:33:31 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-01-29 11:33:31 +0000 |
commit | 62e0f10eba85368bb761db71ff746c4e7aec1c75 (patch) | |
tree | 2265e9783c187f27619b09379c07e18054b580bb | |
parent | 0b2b7439fe8f3836af5131f0e238251398409627 (diff) |
use the name 'c-ares' for this package
-rwxr-xr-x | ares/maketgz | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/ares/maketgz b/ares/maketgz index 18d27822e..670109b35 100755 --- a/ares/maketgz +++ b/ares/maketgz @@ -2,6 +2,8 @@ $version = $ARGV[0]; +$name="c-ares"; + if($version eq "") { print "Enter version number!\n"; exit; @@ -81,13 +83,16 @@ sub mkalldir { } for(@entries) { - my $dir = dirpart("arescurl-$version/$_"); + my $dir = dirpart("$name-$version/$_"); # print "Create $dir\n"; mkalldir($dir); # print "Copy $_ to $dir\n"; `cp -p $_ $dir`; } -`tar -cf arescurl-$version.tar arescurl-$version`; -`gzip -9 arescurl-$version.tar`; -`rm -rf arescurl-$version`; +# make a tarball +`tar -cf $name-$version.tar $name-$version`; +# gzip the tarball +`gzip -9 $name-$version.tar`; +# remove the dir +`rm -rf $name-$version`; |