various: shellcheck fixes

This commit is contained in:
Owen Rafferty 2022-09-27 12:20:09 -05:00
parent 137c283076
commit c880280c73
No known key found for this signature in database
6 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@ printf 'makeinfo (GNU texinfo) 5.2\n'
EOF EOF
chmod +x makeinfo chmod +x makeinfo
export PATH=$PATH:$PWD export PATH="$PATH:$PWD"
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \

View File

@ -25,7 +25,7 @@ CFLAGS=$(printf %s "$CFLAGS" | sed 's/-march=[^ ]*//g')
mkdir -p .bin mkdir -p .bin
bfd_path=$(command -v ld.bfd) bfd_path=$(command -v ld.bfd)
ln -s "${bfd_path:?}" .bin/ld ln -s "${bfd_path:?}" .bin/ld
export PATH=$PWD/.bin:$PATH export PATH="$PWD/.bin:$PATH"
# Strip '-B<path>mold' and '--ld-path=<path>mold' from CFLAGS. # Strip '-B<path>mold' and '--ld-path=<path>mold' from CFLAGS.
case $CFLAGS in *mold*) case $CFLAGS in *mold*)

View File

@ -7,7 +7,7 @@
# Set the CARGO_HOME variable to the current directory to prevent cargo from # Set the CARGO_HOME variable to the current directory to prevent cargo from
# touching '$HOME/.cargo'. This keeps the build contained to the package # touching '$HOME/.cargo'. This keeps the build contained to the package
# manager's domain. # manager's domain.
export CARGO_HOME=$PWD export CARGO_HOME="$PWD"
# Instruct the compiler to trim absolute paths in resulting binaries and instead # Instruct the compiler to trim absolute paths in resulting binaries and instead
# change them to relative paths ($PWD/... ./...). # change them to relative paths ($PWD/... ./...).

View File

@ -37,7 +37,7 @@ build_harfbuzz() (
# Point Freetype to the Harfbuzz files. # Point Freetype to the Harfbuzz files.
export CPPFLAGS="$CPPFLAGS -I$DESTDIR/usr/include/harfbuzz" export CPPFLAGS="$CPPFLAGS -I$DESTDIR/usr/include/harfbuzz"
export LDFLAGS="$LDFLAGS -L$DESTDIR/usr/lib" 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. # Point Harfbuzz to the Freetype files.
export CPPFLAGS="$CPPFLAGS -I$DESTDIR/usr/include/freetype2" export CPPFLAGS="$CPPFLAGS -I$DESTDIR/usr/include/freetype2"

View File

@ -13,7 +13,7 @@
PYTHONPATH=$PWD:$(python -c "import sys;print(':'.join(sys.path))") PYTHONPATH=$PWD:$(python -c "import sys;print(':'.join(sys.path))")
cd -; cd .. cd -; cd ..
export PATH=$PWD/dist/usr/bin:$PATH export PATH="$PWD/dist/usr/bin:$PATH"
export PYTHONPATH export PYTHONPATH
} }

View File

@ -13,7 +13,7 @@
PYTHONPATH=$PWD:$(python -c "import sys;print(':'.join(sys.path))") PYTHONPATH=$PWD:$(python -c "import sys;print(':'.join(sys.path))")
cd -; cd .. cd -; cd ..
export PATH=$PWD/dist/usr/bin:$PATH export PATH="$PWD/dist/usr/bin:$PATH"
export PYTHONPATH export PYTHONPATH
} }