various: Fix trailing white-space

This commit is contained in:
Dylan Araps 2020-05-03 23:44:01 +03:00
parent 204259651a
commit e2656d5170
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
6 changed files with 7 additions and 6 deletions

View File

@ -2,7 +2,7 @@
cat <<EOF cat <<EOF
NOTE: To enable 'ccache' add this to your NOTE: To enable 'ccache' add this to your
'.shellrc' or '.profile'. '.shellrc' or '.profile'.
-> export PATH=/usr/lib/ccache/bin:\$PATH -> export PATH=/usr/lib/ccache/bin:\$PATH

View File

@ -1,6 +1,6 @@
#!/bin/sh -e #!/bin/sh -e
export DESTDIR="$1" export DESTDIR="$1"
meson \ meson \
--prefix=/usr \ --prefix=/usr \

View File

@ -1,5 +1,6 @@
#!/bin/sh -e #!/bin/sh -e
sh >/dev/tty
export DESTDIR="$1" export DESTDIR="$1"
cmake -B build \ cmake -B build \

View File

@ -1 +1 @@
20.0.6 1 20.0.6 1

View File

@ -59,7 +59,7 @@ llvm-config = "/usr/bin/llvm-config"
crt-static = false crt-static = false
EOF EOF
export DESTDIR="$1" export DESTDIR="$1"
python3 ./x.py build -j "$(nproc)" python3 ./x.py build -j "$(nproc)"
python3 ./x.py install python3 ./x.py install

View File

@ -17,7 +17,7 @@ while read -r l || [ "$l" ]; do case $l in
*'</variantList>'*) var=0;; *'</variantList>'*) var=0;;
*'</layoutList>'*) break;; *'</layoutList>'*) break;;
*'<name>'*) *'<name>'*)
l="${l#*>}" l="${l#*>}"
[ "$var" -eq 0 ] && ln=${l%<*} || n=${l%<*} [ "$var" -eq 0 ] && ln=${l%<*} || n=${l%<*}
;; ;;
@ -39,7 +39,7 @@ while read -r l || [ "$l" ]; do case $l in
*'</optionList>'*) break;; *'</optionList>'*) break;;
*'<name>'*) n=${l#*>} n=${n%<*} ;; *'<name>'*) n=${l#*>} n=${n%<*} ;;
*'<description>'*) *'<description>'*)
l=${l#*>} l=${l#*>}
[ "$com" -ne 0 ] || printf ' %-20s %s\n' "$n" "${l%<*}" [ "$com" -ne 0 ] || printf ' %-20s %s\n' "$n" "${l%<*}"