summaryrefslogtreecommitdiff
path: root/rebuildpkgs.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-03-28 19:20:11 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2017-04-20 00:23:25 -0400
commit7e3d0986836a74f91026ff072f31d04f2a6329fb (patch)
treebe98d8ced872f2df0c2a879a3ce602b7c886f9b4 /rebuildpkgs.in
parentf52d44084734e30e795205162f4ab142f0fef181 (diff)
downloaddevtools32-7e3d0986836a74f91026ff072f31d04f2a6329fb.tar.xz
Add `# shellcheck` directives to quiet shellcheck.
Diffstat (limited to 'rebuildpkgs.in')
-rw-r--r--rebuildpkgs.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/rebuildpkgs.in b/rebuildpkgs.in
index 5f3e716..3e5c5ac 100644
--- a/rebuildpkgs.in
+++ b/rebuildpkgs.in
@@ -21,6 +21,7 @@ fi
# Source makepkg.conf; fail if it is not found
if [[ -r '/etc/makepkg.conf' ]]; then
+ # shellcheck source=makepkg-x86_64.conf
source '/etc/makepkg.conf'
else
die '/etc/makepkg.conf not found!'
@@ -28,8 +29,10 @@ fi
# Source user-specific makepkg.conf overrides
if [[ -r "${XDG_CONFIG_HOME:-$HOME/.config}/pacman/makepkg.conf" ]]; then
+ # shellcheck source=/dev/null
source "${XDG_CONFIG_HOME:-$HOME/.config}/pacman/makepkg.conf"
elif [[ -r "$HOME/.makepkg.conf" ]]; then
+ # shellcheck source=/dev/null
source "$HOME/.makepkg.conf"
fi