mirror of
https://github.com/dynup/kpatch
synced 2025-04-11 03:31:20 +00:00
Merge pull request #60 from jpoimboe/fix-bash-x
kpatch-build: fix SCRIPTDIR for bash -x
This commit is contained in:
commit
37ba81f4ef
@ -38,7 +38,7 @@
|
||||
|
||||
BASE="$PWD"
|
||||
LOGFILE="/tmp/kpatch-build-$(date +%s).log"
|
||||
SCRIPTDIR="$(readlink -f $(dirname $0))"
|
||||
SCRIPTDIR="$(readlink -f $(dirname $(type -p $0)))"
|
||||
ARCHVERSION="$(uname -r)"
|
||||
DISTROVERSION="${ARCHVERSION%*.*}"
|
||||
LOCALVERSION="-${ARCHVERSION##*-}"
|
||||
|
Loading…
Reference in New Issue
Block a user