Skip to content
Snippets Groups Projects
Commit 8de4fea7 authored by Robin Randhawa's avatar Robin Randhawa
Browse files

userutils: Replace reference to x86_64-unknown-redox with $TARGET

Unbreaks builds for AArch64.
parent 35439d92
No related branches found
No related tags found
1 merge request!206userutils: Replace reference to x86_64-unknown-redox with $TARGET
...@@ -22,22 +22,22 @@ function recipe_stage { ...@@ -22,22 +22,22 @@ function recipe_stage {
else else
build=release build=release
fi fi
mkdir -p "$1/bin" mkdir -p "$1/bin"
for bin in "${BINS[@]}" for bin in "${BINS[@]}"
do do
cp -v "target/x86_64-unknown-redox/$build/$bin" "$1/bin" cp -v "target/$TARGET/$build/$bin" "$1/bin"
done done
cp -Rv "res" "$1/etc" cp -Rv "res" "$1/etc"
ln -s id "$1/bin/whoami" ln -s id "$1/bin/whoami"
chmod +s "$1/bin/passwd" chmod +s "$1/bin/passwd"
chmod +s "$1/bin/sudo" chmod +s "$1/bin/sudo"
chmod +s "$1/bin/su" chmod +s "$1/bin/su"
docgen ../source ../stage/ref docgen ../source ../stage/ref
skip=1 skip=1
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment