Skip to content

Instantly share code, notes, and snippets.

@smith
Last active November 7, 2016 22:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smith/24ab89d6c97548bed3f9907c551bf57b to your computer and use it in GitHub Desktop.
Save smith/24ab89d6c97548bed3f9907c551bf57b to your computer and use it in GitHub Desktop.
shellcheck
# From running `shellcheck --exclude=SC1090,SC1091,SC2034,SC2039,SC2148,SC2153,SC2154 dotnet-core/plan.sh powershell/plan.sh`:
In dotnet-core/plan.sh line 38:
-exec patchelf --interpreter "$(pkg_path_for glibc)/lib/ld-linux-x86-64.so.2" --set-rpath $LD_RUN_PATH {} \;
^-- SC2086: Double quote to prevent globbing and word splitting.
In dotnet-core/plan.sh line 40:
-exec patchelf --set-rpath $LD_RUN_PATH {} \;
^-- SC2086: Double quote to prevent globbing and word splitting.
In powershell/plan.sh line 30:
pushd $HAB_CACHE_SRC_PATH
^-- SC2086: Double quote to prevent globbing and word splitting.
In powershell/plan.sh line 31:
rm -rf $pkg_dirname
^-- SC2086: Double quote to prevent globbing and word splitting.
In powershell/plan.sh line 32:
mkdir $pkg_dirname
^-- SC2086: Double quote to prevent globbing and word splitting.
In powershell/plan.sh line 50:
cp -r $HAB_CACHE_SRC_PATH/PowerShell/* $HAB_CACHE_SRC_PATH/$pkg_dirname
^-- SC2086: Double quote to prevent globbing and word splitting.
^-- SC2086: Double quote to prevent globbing and word splitting.
^-- SC2086: Double quote to prevent globbing and word splitting.
In powershell/plan.sh line 51:
rm -rf $HAB_CACHE_SRC_PATH/PowerShell
^-- SC2086: Double quote to prevent globbing and word splitting.
In powershell/plan.sh line 65:
-exec patchelf --set-rpath $LD_RUN_PATH {} \;
^-- SC2086: Double quote to prevent globbing and word splitting.
In powershell/plan.sh line 67:
cd src/ResGen
^-- SC2164: Use cd ... || exit in case cd fails.
In powershell/plan.sh line 70:
-exec patchelf --interpreter "$(pkg_path_for glibc)/lib/ld-linux-x86-64.so.2" --set-rpath $LD_RUN_PATH {} \;
^-- SC2086: Double quote to prevent globbing and word splitting.
In powershell/plan.sh line 72:
-exec patchelf --set-rpath $LD_RUN_PATH {} \;
^-- SC2086: Double quote to prevent globbing and word splitting.
In powershell/plan.sh line 75:
cd ../TypeCatalogParser
^-- SC2164: Use cd ... || exit in case cd fails.
In powershell/plan.sh line 78:
-exec patchelf --interpreter "$(pkg_path_for glibc)/lib/ld-linux-x86-64.so.2" --set-rpath $LD_RUN_PATH {} \;
^-- SC2086: Double quote to prevent globbing and word splitting.
In powershell/plan.sh line 80:
-exec patchelf --set-rpath $LD_RUN_PATH {} \;
^-- SC2086: Double quote to prevent globbing and word splitting.
In powershell/plan.sh line 83:
cd ../TypeCatalogGen
^-- SC2164: Use cd ... || exit in case cd fails.
In powershell/plan.sh line 86:
-exec patchelf --interpreter "$(pkg_path_for glibc)/lib/ld-linux-x86-64.so.2" --set-rpath $LD_RUN_PATH {} \;
^-- SC2086: Double quote to prevent globbing and word splitting.
In powershell/plan.sh line 88:
-exec patchelf --set-rpath $LD_RUN_PATH {} \;
^-- SC2086: Double quote to prevent globbing and word splitting.
In powershell/plan.sh line 91:
cd ../libpsl-native
^-- SC2164: Use cd ... || exit in case cd fails.
In powershell/plan.sh line 99:
cd ../powershell-unix
^-- SC2164: Use cd ... || exit in case cd fails.
In powershell/plan.sh line 101:
-exec patchelf --set-rpath $LD_RUN_PATH {} \;
^-- SC2086: Double quote to prevent globbing and word splitting.
In powershell/plan.sh line 106:
cd src/powershell-unix
^-- SC2164: Use cd ... || exit in case cd fails.
In powershell/plan.sh line 107:
dotnet publish --configuration Linux --output $pkg_prefix
^-- SC2086: Double quote to prevent globbing and word splitting.
In powershell/plan.sh line 108:
find $pkg_prefix -type f -name 'powershell' \
^-- SC2086: Double quote to prevent globbing and word splitting.
In powershell/plan.sh line 109:
-exec patchelf --interpreter "$(pkg_path_for glibc)/lib/ld-linux-x86-64.so.2" --set-rpath $LD_RUN_PATH {} \;
^-- SC2086: Double quote to prevent globbing and word splitting.
In powershell/plan.sh line 110:
find $pkg_prefix -type f -name '*.so*' \
^-- SC2086: Double quote to prevent globbing and word splitting.
In powershell/plan.sh line 111:
-exec patchelf --set-rpath $LD_RUN_PATH {} \;
^-- SC2086: Double quote to prevent globbing and word splitting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment