diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2017-03-28 19:20:11 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2017-05-05 18:28:56 -0400 |
commit | 518a22f386ccb5968dce85490278494e058995b1 (patch) | |
tree | 814a53b965cfcc26ededc9fd9dd48c52ac4e2432 /arch-nspawn.in | |
parent | 0beccef4ac405fdefdafba5b9ac6e7962b1610d2 (diff) | |
download | devtools-5339eea51445aec28d26bf87524bf7f4aeb5e3d0.tar.xz |
Add `# shellcheck` directives to quiet shellcheck, add PKGBUILD.protolukeshu/to-upstream/pre-release-20170505
The added PKGBUILD.proto file is so that shellcheck can know know what
to expect that a PKGBUILD sets.
Diffstat (limited to 'arch-nspawn.in')
-rw-r--r-- | arch-nspawn.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch-nspawn.in b/arch-nspawn.in index 2d42e3a..c21b2ce 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -58,7 +58,9 @@ else cache_dirs=("$cache_dir") fi +# shellcheck disable=2016 host_mirror=$(pacman --cachedir /doesnt/exist -Sddp extra/devtools 2>/dev/null | sed -r 's#(.*/)extra/os/.*#\1$repo/os/$arch#') +# shellcheck disable=2016 [[ $host_mirror == *file://* ]] && host_mirror_path=$(echo "$host_mirror" | sed -r 's#file://(/.*)/\$repo/os/\$arch#\1#g') # {{{ functions |