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
/
babeltrace
/
scan-build.sh
diff --git
a/scripts/babeltrace/scan-build.sh
b/scripts/babeltrace/scan-build.sh
index 887de62861dc51ee6a05b4cd0c8c6f8a77675d26..117d5f9fe82e83aff0729af7a2dd4cf0a5c4c1ee 100755
(executable)
--- a/
scripts/babeltrace/scan-build.sh
+++ b/
scripts/babeltrace/scan-build.sh
@@
-44,13
+44,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
@@
-68,7
+68,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.025233 seconds
and
4
git commands to generate.