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:
parent
137c283076
commit
c880280c73
@ -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 \
|
||||
|
@ -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*)
|
||||
|
@ -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/... ./...).
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user