projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jjb: babeltrace cleanups
[lttng-ci.git]
/
scripts
/
liburcu
/
scan-build.sh
diff --git
a/scripts/liburcu/scan-build.sh
b/scripts/liburcu/scan-build.sh
index e4237ee207e260c77654672584ef499403423a60..d290a6fd0a1ee67bd14695be9116b91e290a29d9 100755
(executable)
--- a/
scripts/liburcu/scan-build.sh
+++ b/
scripts/liburcu/scan-build.sh
@@
-45,13
+45,13
@@
cd "$SRCDIR"
./bootstrap
./bootstrap
-./configure --prefix=
$PREFIX
+./configure --prefix=
"$PREFIX"
# generate the scan-build report
# generate the scan-build report
-scan-build -k -o
${SCAN_BUILD_TMPDIR}
make
+scan-build -k -o
"${SCAN_BUILD_TMPDIR}"
make
# get the directory name of the report created by scan-build
# get the directory name of the report created by scan-build
-SCAN_BUILD_REPORT=$( find
${SCAN_BUILD_TMPDIR} -maxdepth 1 -not -empty -not -name `basename ${SCAN_BUILD_TMPDIR}`
)
+SCAN_BUILD_REPORT=$( find
"${SCAN_BUILD_TMPDIR}" -maxdepth 1 -not -empty -not -name "`basename ${SCAN_BUILD_TMPDIR}`"
)
rc=$?
if [ -z "${SCAN_BUILD_REPORT}" ]; then
rc=$?
if [ -z "${SCAN_BUILD_REPORT}" ]; then
@@
-69,7
+69,7
@@
else
fi
echo ">>> Archiving scan-build report to ${SCAN_BUILD_ARCHIVE}"
fi
echo ">>> Archiving scan-build report to ${SCAN_BUILD_ARCHIVE}"
- mv
${SCAN_BUILD_REPORT}/* ${SCAN_BUILD_ARCHIVE}/
+ mv
"${SCAN_BUILD_REPORT}/*" "${SCAN_BUILD_ARCHIVE}/"
echo ">>> Removing any temporary files and directories"
rm -rf "${SCAN_BUILD_TMPDIR}"
echo ">>> Removing any temporary files and directories"
rm -rf "${SCAN_BUILD_TMPDIR}"
This page took
0.022739 seconds
and
4
git commands to generate.