diff options
Diffstat (limited to 'src/dagpkg')
-rwxr-xr-x | src/dagpkg | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -5,6 +5,7 @@ # Copyright (C) 2014 Nicolás Reynolds <fauno@parabola.nu> # Copyright (C) 2014 Michał Masłowski <mtjm@mtjm.eu> +# Copyright (C) 2017 Luke Shumaker <lukeshu@sbcglobal.net> # # License: GNU GPLv3+ # @@ -112,20 +113,20 @@ visit_pkgbuild() { # Detect cycle or already visited package case "${marks[$name]:-0}" in - 1) msg2 "cycle found with %s depending on %s" $prev $name + 1) msg2 "cycle found with %s depending on %s" "$prev" "$name" exit 1;; 2) return;; esac - msg "%s (%s)" ${name} ${prev} + msg "%s (%s)" "${name}" "${prev}" if ! in_array "${CARCH}" "${arch[@]}"; then - warning "%s isn't ported to %s yet" ${name} ${CARCH} + warning "%s isn't ported to %s yet" "${name}" "${CARCH}" fi # If the envvar I contains this package, ignore it and exit if in_array "$name" $I; then - msg2 "%s ignored" ${name} + msg2 "%s ignored" "${name}" return fi @@ -145,7 +146,7 @@ visit_pkgbuild() { test -z "$w" && continue # Go to this dir - pushd $w &>/dev/null + pushd "$w" &>/dev/null visit_pkgbuild "$name" |