nightly build: Invoke all scripts from the same directory

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4384 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2012-06-28 11:32:48 +00:00
parent 971c23a4dd
commit 85b11f9ced

View File

@@ -169,11 +169,11 @@ function generate_kernel_patch {
$([ "${mpt_scst}" = "true" ] && echo "-m") \
$([ "${qla2x00t}" = "true" ] && echo "-q")"
scripts/generate-kernel-patch ${driver_options} $2 $1 > "${patchfile}"
"${scriptsdir}"/generate-kernel-patch ${driver_options} $2 $1 > "${patchfile}"
scripts/generate-kernel-patch ${driver_options} -n $2 $1 > "${patchfile_m}"
"${scriptsdir}"/generate-kernel-patch ${driver_options} -n $2 $1 > "${patchfile_m}"
scripts/generate-kernel-patch ${driver_options} -p "${outputdir}/${patchdir}" $2 $1
"${scriptsdir}"/generate-kernel-patch ${driver_options} -p "${outputdir}/${patchdir}" $2 $1
}
# Run checkpatch on the generated kernel patch. Assumes that there is a
@@ -404,6 +404,7 @@ if [ ! -e scst -o ! -e iscsi-scst -o ! -e srpt ]; then
exit 1
fi
scriptsdir="$(dirname $0)"
# Where to store persistenly downloaded kernel tarballs and kernel patches.
kernel_sources="$HOME/software/downloads"
# URL for downloading kernel tarballs and kernel patches.