[arch-projects] [mkinitcpio][PATCH 1/5] functions: add missing 'command' before install
Dave Reisner
d at falconindy.com
Sun Jun 26 20:32:12 EDT 2011
Without this, we hit an infinte loop and crash when a legacy 'install'
function in a hook is encountered.
Thanks-to: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
functions | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/functions b/functions
index ee6921c..8e3588a 100644
--- a/functions
+++ b/functions
@@ -221,7 +221,7 @@ _add_file() {
[[ -e "$BUILDROOT$1" ]] && return $EEXIST
(( QUIET )) || plain "adding file: %s" "$1"
- install -Dm$3 "$2" "$BUILDROOT$1"
+ command install -Dm$3 "$2" "$BUILDROOT$1"
}
_add_dir() {
--
1.7.5.4
More information about the arch-projects
mailing list