sanitized apostrophes

This commit is contained in:
2025-05-21 04:04:34 +02:00
parent a4f4a451e8
commit 6c23864e0e

View File

@@ -1,13 +1,13 @@
#!/usr/bin/bash #!/usr/bin/bash
ALHP_SCRIPT="/usr/local/bin/alhp-check.sh" ALHP_SCRIPT='/usr/local/bin/alhp-check.sh'
building_pkgs=() building_pkgs=()
if [[ $# -gt 0 ]]; then if [[ $# -gt 0 ]]; then
for pkg in "$@"; do for pkg in $@; do
result=$($ALHP_SCRIPT --check-pkg "$pkg" -j) result=$($ALHP_SCRIPT --check-pkg $pkg -j)
if [[ "$result" != "[]" ]]; then if [[ $result != [] ]]; then
building_pkgs+=("$pkg") building_pkgs+=($pkg)
fi fi
done done
else else
@@ -16,7 +16,7 @@ fi
if (( ${#building_pkgs[@]} > 0 )); then if (( ${#building_pkgs[@]} > 0 )); then
echo "WARNING: The following packages are currently building or queued on ALHP:" echo "WARNING: The following packages are currently building or queued on ALHP:"
for p in "${building_pkgs[@]}"; do for p in ${building_pkgs[@]}; do
echo " - $p" echo " - $p"
done done
# Uncomment to abort pacman transaction # Uncomment to abort pacman transaction