diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Dpkg/Build/Env.pm | 10 | ||||
-rw-r--r-- | scripts/Dpkg/Vendor.pm | 12 |
2 files changed, 11 insertions, 11 deletions
diff --git a/scripts/Dpkg/Build/Env.pm b/scripts/Dpkg/Build/Env.pm index 9312d2d3c..856d185fe 100644 --- a/scripts/Dpkg/Build/Env.pm +++ b/scripts/Dpkg/Build/Env.pm @@ -38,7 +38,7 @@ environment variables being used and modified. =over 4 -=item $bf->set($varname, $value) +=item set($varname, $value) Update the build environment variable $varname with value $value. Record it as being accessed and modified. @@ -52,7 +52,7 @@ sub set { $ENV{$varname} = $value; } -=item $bf->get($varname) +=item get($varname) Get the build environment variable $varname value. Record it as being accessed. @@ -65,7 +65,7 @@ sub get { return $ENV{$varname}; } -=item $bf->has($varname) +=item has($varname) Return a boolean indicating whether the environment variable exists. Record it as being accessed. @@ -78,7 +78,7 @@ sub has { return exists $ENV{$varname}; } -=item @list = $bf->list_accessed() +=item @list = list_accessed() Returns a list of all environment variables that have been accessed. @@ -89,7 +89,7 @@ sub list_accessed { return @list; } -=item @list = $bf->list_modified() +=item @list = list_modified() Returns a list of all environment variables that have been modified. diff --git a/scripts/Dpkg/Vendor.pm b/scripts/Dpkg/Vendor.pm index 99b56b5ed..196159156 100644 --- a/scripts/Dpkg/Vendor.pm +++ b/scripts/Dpkg/Vendor.pm @@ -70,7 +70,7 @@ file can have the same casing as the Vendor field, or it can be capitalized. =over 4 -=item $dir = Dpkg::Vendor::get_vendor_dir() +=item $dir = get_vendor_dir() Returns the current dpkg origins directory name, where the vendor files are stored. @@ -81,7 +81,7 @@ sub get_vendor_dir { return $origins; } -=item $fields = Dpkg::Vendor::get_vendor_info($name) +=item $fields = get_vendor_info($name) Returns a Dpkg::Control object with the information parsed from the corresponding vendor file in $Dpkg::CONFDIR/origins/. If $name is omitted, @@ -104,7 +104,7 @@ sub get_vendor_info(;$) { return $fields; } -=item $name = Dpkg::Vendor::get_vendor_file($name) +=item $name = get_vendor_file($name) Check if there's a file for the given vendor and returns its name. @@ -124,7 +124,7 @@ sub get_vendor_file(;$) { return $file; } -=item $name = Dpkg::Vendor::get_current_vendor() +=item $name = get_current_vendor() Returns the name of the current vendor. If DEB_VENDOR is set, it uses that first, otherwise it falls back to parsing $Dpkg::CONFDIR/origins/default. @@ -143,7 +143,7 @@ sub get_current_vendor() { return; } -=item $object = Dpkg::Vendor::get_vendor_object($name) +=item $object = get_vendor_object($name) Return the Dpkg::Vendor::* object of the corresponding vendor. If $name is omitted, return the object of the current vendor. @@ -180,7 +180,7 @@ sub get_vendor_object { } } -=item Dpkg::Vendor::run_vendor_hook($hookid, @params) +=item run_vendor_hook($hookid, @params) Run a hook implemented by the current vendor object. |