mirror of
https://github.com/acpica/acpica/
synced 2024-12-26 20:29:48 +03:00
5c55a3aed7
Update for use with CVS to use for git.
28 lines
578 B
Perl
Executable File
28 lines
578 B
Perl
Executable File
#
|
|
# get-acpi
|
|
#
|
|
# Checkout a version of ACPICA, including all source, headers, and
|
|
# makefiles. The parameter, if given, specifies the GIT tag to be checked out.
|
|
#
|
|
# requires GIT
|
|
#
|
|
# modify githome as necessary.
|
|
#
|
|
|
|
$githome = "http://www.acpica.org/repos/acpica.git";
|
|
$gitroot = "acpica";
|
|
|
|
$version;
|
|
|
|
# Get optional parameter and use as the GIT tag
|
|
|
|
if ($ARGV[0])
|
|
{
|
|
$version = $ARGV[0];
|
|
}
|
|
|
|
# Checkout entire source and linux makefiles
|
|
|
|
system("echo Getting version $version of ACPICA");
|
|
system("rm -rf $gitroot; http_proxy=http://proxy.jf.intel.com:911 git clone $githome");
|