mirror of
https://github.com/dynup/kpatch
synced 2025-02-28 07:50:36 +00:00
kpatch-build: convert spaces in patch name to '-'
This commit is contained in:
parent
c884811bb9
commit
a0756a5f1d
@ -250,7 +250,7 @@ fi
|
||||
|
||||
[[ -z $TARGETS ]] && TARGETS="vmlinux modules"
|
||||
|
||||
PATCHNAME="$(basename $PATCHFILE)"
|
||||
PATCHNAME=$(basename "$PATCHFILE")
|
||||
if [[ "$PATCHNAME" =~ \.patch ]] || [[ "$PATCHNAME" =~ \.diff ]]; then
|
||||
PATCHNAME="${PATCHNAME%.*}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user