|
printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 |
Don't use variables in the printf format string. Use printf "..%s.." "$foo".
|
printf "${BLUE} ->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 |
Don't use variables in the printf format string. Use printf "..%s.." "$foo".
|
printf "${YELLOW}==> $(gettext "WARNING:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 |
Don't use variables in the printf format string. Use printf "..%s.." "$foo".
|
printf "${RED}==> $(gettext "ERROR:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 |
Don't use variables in the printf format string. Use printf "..%s.." "$foo".
|
rm -rf "$BUILDDIRECTORY"/{${build},${build}_upperdir,${build}_workdir,${build}_disorder} || true |
Use "${var:?}" to ensure this never expands to / .
Double quote to prevent globbing and word splitting.
|
mkdir -p "$BUILDDIRECTORY"/{${build},${build}_upperdir,${build}_workdir} |
Double quote to prevent globbing and word splitting.
|
-o lowerdir="$BUILDDIRECTORY/root",upperdir="$BUILDDIRECTORY/${build}_upperdir",workdir="$BUILDDIRECTORY/${build}_workdir" \ |
Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A"B"C"?
|
-o lowerdir="$BUILDDIRECTORY/root",upperdir="$BUILDDIRECTORY/${build}_upperdir",workdir="$BUILDDIRECTORY/${build}_workdir" \ |
Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A"B"C"?
Double quote to prevent globbing and word splitting.
|
cp $makepkg_conf "$BUILDDIRECTORY"/root/etc/makepkg.conf |
Double quote to prevent globbing and word splitting.
|
cp $pacman_conf "$BUILDDIRECTORY"/root/etc/pacman.conf |
Double quote to prevent globbing and word splitting.
|
cp $makepkg_conf "$BUILDDIRECTORY"/root/etc/makepkg.conf |
Double quote to prevent globbing and word splitting.
|
cp $pacman_conf "$BUILDDIRECTORY"/root/etc/pacman.conf |
Double quote to prevent globbing and word splitting.
|
cp $makepkg_conf "$BUILDDIRECTORY"/root/etc/makepkg.conf |
Double quote to prevent globbing and word splitting.
|
cp $pacman_conf "$BUILDDIRECTORY"/root/etc/pacman.conf |
Double quote to prevent globbing and word splitting.
|
while IFS=$'=' read key value; do |
read without -r will mangle backslashes.
|
printf 'PACKAGER=' "${PACKAGER@Q}" > $BUILDDIRECTORY/build/home/builduser/.makepkg.conf |
This printf format string has no variables. Other arguments are ignored.
Possible misspelling: PACKAGER may not be assigned, but packager is.
|
exec_nspawn build --bind="$(readlink -e ${cachedir}):/cache" pacman -U ${packages[*]} --noconfirm |
Double quote to prevent globbing and word splitting.
|
build_package "build" $builddir |
Double quote to prevent globbing and word splitting.
|
sha512sum -b "$pkg" | read refference_build_checksum _ |
read without -r will mangle backslashes.
Modification of refference_build_checksum is local (to subshell caused by pipeline).
|
sha512sum -b ./build/"$(basename $pkgfile)" | read other_build_checksum _ |
Double quote to prevent globbing and word splitting.
read without -r will mangle backslashes.
Modification of other_build_checksum is local (to subshell caused by pipeline).
|
if [ "$refference_build_checksum" = "$other_build_checksum" ]; then |
refference_build_checksum was modified in a subshell. That change might be lost.
other_build_checksum was modified in a subshell. That change might be lost.
|
PYTHONIOENCODING=utf-8 $DIFFOSCOPE "$pkg" ./build/"$(basename $pkg)" || true |
Double quote to prevent globbing and word splitting.
Invalid flags are not handled. Add a *) case.
Variable was used as an array but is now assigned a string.
Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
Double quote to prevent globbing and word splitting.
|
if [[ "$REPO_CONF" = "$CONFIGDIR/repro.conf" ]]; then |
Possible misspelling: REPO_CONF may not be assigned, but REPRO_CONF is.