summaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-09 22:21:14 +0200
committerErich Eckner <git@eckner.net>2019-04-09 22:21:14 +0200
commit8992630ebda37c04973b5d5dcf9666315a378c47 (patch)
tree7c8481d143cdac7c7b7a8f9bec1bfc9a29279aa7 /update.sh
parent699c7a6fff6185c9bb2471cd3ab44c5f8e950fc6 (diff)
downloadcrux-ports-8992630ebda37c04973b5d5dcf9666315a378c47.tar.xz
update.sh: remove trailing ":"
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}