summaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index 31ca119..dd57a43 100755
--- a/update.sh
+++ b/update.sh
@@ -2,7 +2,7 @@
set -e
-pkg="$1"
+pkg="${1%:}"
version="$2"
cd /usr/src/ports/*/${pkg}