git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support custom build directories and move includes
[zfs.git]
/
scripts
/
common.sh.in
diff --git
a/scripts/common.sh.in
b/scripts/common.sh.in
index
102952f
..
65e897d
100644
(file)
--- a/
scripts/common.sh.in
+++ b/
scripts/common.sh.in
@@
-1,13
+1,13
@@
#!/bin/bash
#
#!/bin/bash
#
-# Common support functions for testing scripts. If a
.
script-config
+# Common support functions for testing scripts. If a script-config
# files is available it will be sourced so in-tree kernel modules and
# files is available it will be sourced so in-tree kernel modules and
-# utilities will be used. If no
.
script-config can be found then the
+# utilities will be used. If no script-config can be found then the
# installed kernel modules and utilities will be used.
basedir="$(dirname $0)"
# installed kernel modules and utilities will be used.
basedir="$(dirname $0)"
-SCRIPT_CONFIG=
.script-config
+SCRIPT_CONFIG=
zfs-script-config.sh
if [ -f "${basedir}/../${SCRIPT_CONFIG}" ]; then
. "${basedir}/../${SCRIPT_CONFIG}"
else
if [ -f "${basedir}/../${SCRIPT_CONFIG}" ]; then
. "${basedir}/../${SCRIPT_CONFIG}"
else