[151471] contrib/mp-buildbot/mpbb-cleanup
cal at macports.org
cal at macports.org
Tue Aug 16 14:31:38 PDT 2016
Revision: 151471
https://trac.macports.org/changeset/151471
Author: cal at macports.org
Date: 2016-08-16 14:31:38 -0700 (Tue, 16 Aug 2016)
Log Message:
-----------
mp-buildbot: cleanup: Supress ShellCheck warnings
All of those are false positives.
Modified Paths:
--------------
contrib/mp-buildbot/mpbb-cleanup
Modified: contrib/mp-buildbot/mpbb-cleanup
===================================================================
--- contrib/mp-buildbot/mpbb-cleanup 2016-08-16 21:29:47 UTC (rev 151470)
+++ contrib/mp-buildbot/mpbb-cleanup 2016-08-16 21:31:38 UTC (rev 151471)
@@ -10,11 +10,15 @@
cleanup() {
echo "----> Deactivating ports"
+ # $option_prefix is set by mpbb
+ # shellcheck disable=SC2154
if [ -n "$("${option_prefix}/bin/port" -q installed active)" ]; then
"${option_prefix}/bin/port" -fp deactivate active
fi
echo
echo "----> Uninstalling obsolete ports"
+ # $thisdir is set by mpbb and points to the directory in which this script resides
+ # shellcheck disable=SC2154
"${option_prefix}/bin/port-tclsh" "${thisdir}/tools/uninstall-old-ports.tcl"
echo
echo "----> Deleting distfiles"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160816/f47fe011/attachment.html>
More information about the macports-changes
mailing list