mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-23 13:24:17 +08:00
Change installation location
This commit is contained in:
parent
0cdf0867d9
commit
6c3bbeb4d2
@ -27,7 +27,13 @@ function recipe_test {
|
||||
}
|
||||
function recipe_stage {
|
||||
dest="$(realpath "$1")"
|
||||
echo "$dest"
|
||||
make DESTDIR="$dest" install
|
||||
cd "$dest/usr/local/bin/"
|
||||
find . -type f -exec install -D "{}" "$dest/usr/bin/{}" \;
|
||||
cd -
|
||||
cd "$dest/usr/local/share/"
|
||||
find . -type f -exec install -D "{}" "$dest/share/{}" \;
|
||||
cd -
|
||||
rm -r "$dest/usr/local/"
|
||||
skip=1
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user