summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/functions b/scripts/functions
index 26ff88a..1be7af4 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -2019,8 +2019,5 @@ CT_DoGetPkgVersion()
# Get the version of the package (main or fork)
CT_GetPkgVersion()
{
- local pkg="${1}"
- shift
-
- CT_PackageRun "${pkg}" CT_DoGetPkgVersion
+ CT_PackageRun "${1}" CT_DoGetPkgVersion
}