sys-kernel/coreos-sources: Allow revbump.sh srcdir to be relative path

This commit is contained in:
Benjamin Gilbert 2017-04-24 18:07:38 -07:00
parent f48cf6e858
commit dfc93578bc

View File

@ -5,7 +5,7 @@
set -e set -e
new_pvr="$1" new_pvr="$1"
srcdir="$2" srcdir="$(realpath $2)"
if [[ -z "${new_pvr}" || -z "${srcdir}" ]]; then if [[ -z "${new_pvr}" || -z "${srcdir}" ]]; then
echo "Usage: $0 <new-PVR> <dir-with-git-format-patch-output>" echo "Usage: $0 <new-PVR> <dir-with-git-format-patch-output>"