[Bug 227109] Mk/Scripts, cleanup using devel/hs-ShellCheck
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jun 1 16:22:07 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227109
--- Comment #15 from commit-hook at freebsd.org ---
A commit references this bug:
Author: mat
Date: Fri Jun 1 16:20:48 UTC 2018
New revision: 471272
URL: https://svnweb.freebsd.org/changeset/ports/471272
Log:
SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
cd can fail for a variety of reasons: misspelled paths, missing
directories, missing permissions, broken symlinks and more.
If/when it does, the script will keep going and do all its operations in
the wrong directory. This can be messy, especially if the operations
involve creating or deleting a lot of files.
PR: 227109
Submitted by: mat
Sponsored by: Absolight
Changes:
head/Mk/Scripts/qa.sh
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list