sanitized apostrophes
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
ALHP_SCRIPT="/usr/local/bin/alhp-check.sh"
|
||||
ALHP_SCRIPT='/usr/local/bin/alhp-check.sh'
|
||||
building_pkgs=()
|
||||
|
||||
if [[ $# -gt 0 ]]; then
|
||||
for pkg in "$@"; do
|
||||
result=$($ALHP_SCRIPT --check-pkg "$pkg" -j)
|
||||
if [[ "$result" != "[]" ]]; then
|
||||
building_pkgs+=("$pkg")
|
||||
for pkg in $@; do
|
||||
result=$($ALHP_SCRIPT --check-pkg $pkg -j)
|
||||
if [[ $result != [] ]]; then
|
||||
building_pkgs+=($pkg)
|
||||
fi
|
||||
done
|
||||
else
|
||||
@@ -16,7 +16,7 @@ fi
|
||||
|
||||
if (( ${#building_pkgs[@]} > 0 )); then
|
||||
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"
|
||||
done
|
||||
# Uncomment to abort pacman transaction
|
||||
|
Reference in New Issue
Block a user