diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-06-27 01:09:24 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-06-27 02:21:45 +0200 |
commit | 457db1af9f697a6dff4189cb46031688c78a61dc (patch) | |
tree | 0ff0fba7769721436b18c053afa65038b12a6959 /functions | |
parent | 6cdc1a6d080ffb6cca413156d66504cc4034fb1b (diff) | |
download | mkinitcpio-457db1af9f697a6dff4189cb46031688c78a61dc.tar.gz mkinitcpio-457db1af9f697a6dff4189cb46031688c78a61dc.tar.xz |
functions: add missing 'command' before install
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@yahoo.com.ar>
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() { |