Skip to content
Snippets Groups Projects
Verified Commit 6c3bbeb4 authored by jD91mZM2's avatar jD91mZM2
Browse files

Change installation location

parent 0cdf0867
No related branches found
No related tags found
1 merge request!145Add ncdu recipe
...@@ -27,7 +27,13 @@ function recipe_test { ...@@ -27,7 +27,13 @@ function recipe_test {
} }
function recipe_stage { function recipe_stage {
dest="$(realpath "$1")" dest="$(realpath "$1")"
echo "$dest"
make DESTDIR="$dest" install 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 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