mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 01:01:27 +00:00
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:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
source ../scripts/kernel-functions
|
||||
source "$(dirname "$0")/../scripts/kernel-functions" || exit $?
|
||||
|
||||
#########################
|
||||
# Argument verification #
|
||||
|
||||
@@ -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}"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
source ../scripts/kernel-functions
|
||||
source "$(dirname "$0")/../scripts/kernel-functions" || exit $?
|
||||
|
||||
#########################
|
||||
# Argument verification #
|
||||
|
||||
@@ -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}"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user