2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00

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
chmod +x makeinfo
export PATH=$PATH:$PWD
export PATH="$PATH:$PWD"
./configure \
--prefix=/usr \

View File

@ -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 '-B<path>mold' and '--ld-path=<path>mold' from CFLAGS.
case $CFLAGS in *mold*)

View File

@ -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/... ./...).

View File

@ -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"

View File

@ -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
}

View File

@ -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
}