summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Build
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2017-09-19 02:29:49 +0200
committerGuillem Jover <guillem@debian.org>2017-09-24 21:03:10 +0200
commitc365c51ea613d11b5cdc1c82f1f7062b990d5b07 (patch)
tree828c4159e1f6bc88fd2b482986f2fb1144a920f7 /scripts/Dpkg/Build
parent04f99e25b9d4fa3f3d63b89ae4d702364d407c26 (diff)
downloaddpkg-c365c51ea613d11b5cdc1c82f1f7062b990d5b07.tar.gz
scripts: Fix function signatures documentation
Diffstat (limited to 'scripts/Dpkg/Build')
-rw-r--r--scripts/Dpkg/Build/Env.pm10
1 files changed, 5 insertions, 5 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.