From 94ceffa8607aee9519f11ff2a3ab1383f3d69295 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jackpot51@gmail.com> Date: Fri, 8 Dec 2017 20:57:33 -0700 Subject: [PATCH] Use all possible bins from uutils --- recipes/uutils/recipe.sh | 63 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 57 insertions(+), 6 deletions(-) diff --git a/recipes/uutils/recipe.sh b/recipes/uutils/recipe.sh index 5ee486280..563c97527 100644 --- a/recipes/uutils/recipe.sh +++ b/recipes/uutils/recipe.sh @@ -2,12 +2,63 @@ GIT=https://github.com/redox-os/uutils.git GIT_UPSTREAM=https://github.com/uutils/coreutils.git CARGOFLAGS="--no-default-features --features redox" +BINS=( + base32 + base64 + basename + chmod + cksum + comm + cp + cut + date + dircolors + dirname + echo + env + expand + expr + factor + false + fmt + fold + head + install + link + ls + mktemp + mv + od + paste + printenv + printf + pwd + readlink + realpath + relpath + rm + rmdir + seq + shuf + sleep + split + sum + tac + tee + tr + true + truncate + tsort + unexpand + uniq + wc + yes +) + function recipe_stage { mkdir -p "$1/bin" - ln -s uutils "$1/bin/chmod" - ln -s uutils "$1/bin/env" - ln -s uutils "$1/bin/expr" - ln -s uutils "$1/bin/install" - ln -s uutils "$1/bin/ls" - ln -s uutils "$1/bin/mktemp" + for bin in "${BINS[@]}" + do + ln -s uutils "$1/bin/$bin" + done } -- GitLab