diff --git a/recipes/userutils/recipe.sh b/recipes/userutils/recipe.sh index 3c8640e0fb3002fe7dd6188bee26f1473ffff763..4384373c2dc1c470032b272797ca18c787abffa9 100644 --- a/recipes/userutils/recipe.sh +++ b/recipes/userutils/recipe.sh @@ -22,22 +22,22 @@ function recipe_stage { else build=release fi - + mkdir -p "$1/bin" - + for bin in "${BINS[@]}" do - cp -v "target/x86_64-unknown-redox/$build/$bin" "$1/bin" + cp -v "target/$TARGET/$build/$bin" "$1/bin" done - + cp -Rv "res" "$1/etc" - + ln -s id "$1/bin/whoami" chmod +s "$1/bin/passwd" chmod +s "$1/bin/sudo" chmod +s "$1/bin/su" - + docgen ../source ../stage/ref - + skip=1 }