From c880280c73560953c1ba9ad017983d7bda6d1dfe Mon Sep 17 00:00:00 2001 From: Owen Rafferty Date: Tue, 27 Sep 2022 12:20:09 -0500 Subject: [PATCH] various: shellcheck fixes --- core/binutils/build | 2 +- core/grub/build | 2 +- extra/cbindgen/build | 2 +- extra/freetype-harfbuzz/build | 2 +- extra/mpv/build | 2 +- wayland/libdrm/build | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/binutils/build b/core/binutils/build index 588ae122..e46070d5 100755 --- a/core/binutils/build +++ b/core/binutils/build @@ -6,7 +6,7 @@ printf 'makeinfo (GNU texinfo) 5.2\n' EOF chmod +x makeinfo -export PATH=$PATH:$PWD +export PATH="$PATH:$PWD" ./configure \ --prefix=/usr \ diff --git a/core/grub/build b/core/grub/build index 1cc1a208..f3360cf1 100755 --- a/core/grub/build +++ b/core/grub/build @@ -25,7 +25,7 @@ CFLAGS=$(printf %s "$CFLAGS" | sed 's/-march=[^ ]*//g') mkdir -p .bin bfd_path=$(command -v ld.bfd) ln -s "${bfd_path:?}" .bin/ld - export PATH=$PWD/.bin:$PATH + export PATH="$PWD/.bin:$PATH" # Strip '-Bmold' and '--ld-path=mold' from CFLAGS. case $CFLAGS in *mold*) diff --git a/extra/cbindgen/build b/extra/cbindgen/build index e0b6c503..bd87cb6c 100755 --- a/extra/cbindgen/build +++ b/extra/cbindgen/build @@ -7,7 +7,7 @@ # Set the CARGO_HOME variable to the current directory to prevent cargo from # touching '$HOME/.cargo'. This keeps the build contained to the package # manager's domain. -export CARGO_HOME=$PWD +export CARGO_HOME="$PWD" # Instruct the compiler to trim absolute paths in resulting binaries and instead # change them to relative paths ($PWD/... ./...). diff --git a/extra/freetype-harfbuzz/build b/extra/freetype-harfbuzz/build index a45cc211..abcfd9f1 100755 --- a/extra/freetype-harfbuzz/build +++ b/extra/freetype-harfbuzz/build @@ -37,7 +37,7 @@ build_harfbuzz() ( # Point Freetype to the Harfbuzz files. export CPPFLAGS="$CPPFLAGS -I$DESTDIR/usr/include/harfbuzz" export LDFLAGS="$LDFLAGS -L$DESTDIR/usr/lib" -export PKG_CONFIG_PATH=$DESTDIR/usr/lib/pkgconfig +export PKG_CONFIG_PATH="$DESTDIR/usr/lib/pkgconfig" # Point Harfbuzz to the Freetype files. export CPPFLAGS="$CPPFLAGS -I$DESTDIR/usr/include/freetype2" diff --git a/extra/mpv/build b/extra/mpv/build index 577f69c1..a60aac1c 100755 --- a/extra/mpv/build +++ b/extra/mpv/build @@ -13,7 +13,7 @@ PYTHONPATH=$PWD:$(python -c "import sys;print(':'.join(sys.path))") cd -; cd .. - export PATH=$PWD/dist/usr/bin:$PATH + export PATH="$PWD/dist/usr/bin:$PATH" export PYTHONPATH } diff --git a/wayland/libdrm/build b/wayland/libdrm/build index 858f1191..ad82883e 100755 --- a/wayland/libdrm/build +++ b/wayland/libdrm/build @@ -13,7 +13,7 @@ PYTHONPATH=$PWD:$(python -c "import sys;print(':'.join(sys.path))") cd -; cd .. - export PATH=$PWD/dist/usr/bin:$PATH + export PATH="$PWD/dist/usr/bin:$PATH" export PYTHONPATH }