scripts/generate-kernel-patch: Make several paths absolute

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8884 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2020-05-09 22:48:23 +00:00
parent 24caf06381
commit b3b658bd09
5 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
source ../scripts/kernel-functions
source "$(dirname "$0")/../scripts/kernel-functions" || exit $?
#########################
# Argument verification #

View File

@@ -8,7 +8,7 @@ if [ "$1" = "" ]; then
fi
if [ ! -e qla2xxx-orig/$1 ]; then
./extract-qla2xxx-orig "$1"
"$(dirname "$0")/extract-qla2xxx-orig" "$1"
fi
mkdir -p in-tree-patches/"${kernel_version}"

View File

@@ -1,6 +1,6 @@
#!/bin/bash
source ../scripts/kernel-functions
source "$(dirname "$0")/../scripts/kernel-functions" || exit $?
#########################
# Argument verification #

View File

@@ -8,7 +8,7 @@ if [ "$1" = "" ]; then
fi
if [ ! -e qla2xxx-orig/$1 ]; then
./extract-qla2xxx-orig "$1"
"$(dirname "$0")/extract-qla2xxx-orig" "$1"
fi
mkdir -p in-tree-patches/"${kernel_version}"

View File

@@ -507,7 +507,7 @@ add_file "iscsi-scst/README_in-tree" "Documentation/scst/README.iscsi" \
if [ "${qla2x00t}" = "true" ]; then
( cd qla2x00t && ./generate-in-tree-patches "$1" )
( cd qla2x00t && "$PWD/generate-in-tree-patches" "$1" )
for f in qla2x00t/in-tree-patches/"$1"/*.patch; do
[ -e "$f" ] || continue
@@ -533,7 +533,7 @@ if [ "${qla2x00t}" = "true" ]; then
elif [ "${qla2x00t_32gbit}" = "true" ]; then
( cd qla2x00t-32gbit && ./generate-in-tree-patches "$1" )
( cd qla2x00t-32gbit && "$PWD/generate-in-tree-patches" "$1" )
for f in qla2x00t-32gbit/in-tree-patches/"$1"/*.patch; do
[ -e "$f" ] || continue