scripts/bin/{revbump,update-checksum}: strip traling / from package name
This commit is contained in:
parent
41627ba420
commit
ea0ea5f925
@ -34,6 +34,7 @@ if git status >/dev/null 2>&1; then
|
||||
fi
|
||||
|
||||
for package in "${@}"; do
|
||||
package="${package%%/}"
|
||||
buildsh_path="${REPO_ROOT}/packages/${package}/build.sh"
|
||||
|
||||
if [ ! -f "${buildsh_path}" ]; then
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
##
|
||||
## Package update helper script which sets new SHA-256 for source bundle.
|
||||
##
|
||||
@ -36,6 +36,7 @@ if git status >/dev/null 2>&1; then
|
||||
fi
|
||||
|
||||
for package in "${@}"; do
|
||||
package="${package%%/}"
|
||||
buildsh_path="${REPO_ROOT}/packages/${package}/build.sh"
|
||||
|
||||
if [ ! -f "${buildsh_path}" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user