mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-22 07:10:16 -07:00
linux-headers: remove usage of install
This commit is contained in:
parent
39cfb3320a
commit
a75f2717ee
@ -3,7 +3,8 @@
|
|||||||
make HOSTCC="${CC:-cc}" headers
|
make HOSTCC="${CC:-cc}" headers
|
||||||
|
|
||||||
# The headers require rsync for installation, this command
|
# The headers require rsync for installation, this command
|
||||||
# simply does the equivalent using find.
|
# simply does the equivalent using find, mkdir and cp.
|
||||||
find usr/include -name \*.h -type f | while read -r file; do
|
find usr/include -name \*.h -type f | while read -r file; do
|
||||||
install -Dm644 "$file" "$1/$file"
|
mkdir -p "$1/${file%/*}"
|
||||||
|
cp -f "$file" "$1/$file"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user