summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-08-24 23:24:09 (GMT)
committerGitHub <noreply@github.com>2017-08-24 23:24:09 (GMT)
commit1b3ed29eb9add1b9bc9773fe2565cc5af09810a8 (patch)
tree1a2693774071358985340fbbc70c3fb4fc5ba928 /scripts/functions
parent8e8417226d5cdd90896df2c585ad03a995e5e9a1 (diff)
parent961ea1938204e4fc9199c2ff5933caaa1e3d0710 (diff)
Merge pull request #810 from stilor/fix-patching-ports
Fix patching ports
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
}