mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
Ports: Avoid absolute paths for install(1)
Just because your distro installs install(1) to /usr/bin doesn't mean every distro does.
This commit is contained in:
1 parent
952b09889c
commit
368d170070
2 files changed
+2
-3
No files matched your search
@@ -39,8 +39,7 @@ install() {
|
||||
run make DESTDIR="$DESTDIR" "${installopts[@]}" install
|
||||
# Install system configuration file that tells Alpine where to find CA certificates
|
||||
# installed from the `ca-certificates` package.
|
||||
# (The full `/usr/bin/install` path is used because `install()` is a function within this script.)
|
||||
run /usr/bin/install \
|
||||
run command install \
|
||||
--mode=644 \
|
||||
--no-target-directory \
|
||||
-D \
|
||||
|
||||
@@ -12,5 +12,5 @@ build() {
|
||||
}
|
||||
|
||||
install() {
|
||||
run /usr/bin/install -m755 libtree-sitter-vim.so "${SERENITY_INSTALL_ROOT}/usr/local/lib/libtree-sitter-vim.so"
|
||||
run command install -m755 libtree-sitter-vim.so "${SERENITY_INSTALL_ROOT}/usr/local/lib/libtree-sitter-vim.so"
|
||||
}
|
||||
Reference in new issue
Block a user