Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
5772f33b
Commit
5772f33b
authored
Jul 27, 1999
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for bzip2 using --bzip2.
parent
b5213c30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
Doc/tools/mktarball.sh
Doc/tools/mktarball.sh
+11
-4
No files found.
Doc/tools/mktarball.sh
View file @
5772f33b
...
@@ -16,6 +16,9 @@
...
@@ -16,6 +16,9 @@
# VERSION='$Revision$'
# VERSION='$Revision$'
GZIP
=
'gzip -9'
GZIPEXT
=
tgz
if
[
"
$1
"
=
"-t"
-o
"
$1
"
=
"--tools"
]
;
then
if
[
"
$1
"
=
"-t"
-o
"
$1
"
=
"--tools"
]
;
then
shift
1
shift
1
TOOLS_ONLY
=
true
TOOLS_ONLY
=
true
...
@@ -24,10 +27,15 @@ if [ "$1" = "-z" -o "$1" = "--zip" ] ; then
...
@@ -24,10 +27,15 @@ if [ "$1" = "-z" -o "$1" = "--zip" ] ; then
shift
1
shift
1
USE_ZIP
=
true
USE_ZIP
=
true
fi
fi
if
[
"
$1
"
=
"-g"
-o
"
$1
"
=
"--targz"
]
;
then
if
[
"
$1
"
=
"-g"
-o
"
$1
"
=
"--targz"
-o
"
$1
"
=
"--tgz"
]
;
then
shift
1
shift
1
USE_ZIP
=
''
USE_ZIP
=
''
fi
fi
if
[
"
$1
"
=
"-b"
-o
"
$1
"
=
"--bz2"
-o
"
$1
"
=
"--bzip2"
]
;
then
shift
1
GZIP
=
'bzip2 -9'
GZIPEXT
=
tar.bz2
fi
RELEASE
=
$1
;
shift
RELEASE
=
$1
;
shift
...
@@ -57,17 +65,16 @@ if [ "$TOOLS_ONLY" ] ; then
...
@@ -57,17 +65,16 @@ if [ "$TOOLS_ONLY" ] ; then
rm
-rf
api ext lib mac ref tut
rm
-rf
api ext lib mac ref tut
cd
..
cd
..
if
[
"
$USE_ZIP
"
]
;
then
if
[
"
$USE_ZIP
"
]
;
then
pwd
zip
-r9
tools-
$RELEASE
.zip Doc
||
exit
zip
-r9
tools-
$RELEASE
.zip Doc
||
exit
else
else
(
tar
cf - Doc |
gzip
-9
>
$MYDIR
/tools-
$RELEASE
.tgz
)
||
exit
$?
(
tar
cf - Doc |
$GZIP
>
$MYDIR
/tools-
$RELEASE
.
$GZIPEXT
)
||
exit
$?
fi
fi
else
else
cd
$TEMPDIR
cd
$TEMPDIR
if
[
"
$USE_ZIP
"
]
;
then
if
[
"
$USE_ZIP
"
]
;
then
zip
-r9
$MYDIR
/latex-
$RELEASE
.zip Python-
$RELEASE
||
exit
$?
zip
-r9
$MYDIR
/latex-
$RELEASE
.zip Python-
$RELEASE
||
exit
$?
else
else
(
tar
cf - Python-
$RELEASE
|
gzip
-9
>
$MYDIR
/latex-
$RELEASE
.tgz
)
\
(
tar
cf - Python-
$RELEASE
|
$GZIP
>
$MYDIR
/latex-
$RELEASE
.
$GZIPEXT
)
\
||
exit
$?
||
exit
$?
fi
fi
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment