mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
Meta: Factorize path resolution
This patch adds the `find_executable()` function that will hopefully find executables in a distro-agnostic way and that is (hopefully as well) easily upgradable. The function uses some bash functionalities. So, we now require bash for each script that includes `.shell_include.sh`.
This commit is contained in:
parent
b409d3cf88
commit
0fde7fe3c5
Notes:
sideshowbarker
2024-07-17 08:43:11 +09:00
Author: https://github.com/LucasChollet
Commit: 0fde7fe3c5
Pull-request: https://github.com/SerenityOS/serenity/pull/16336
Issue: https://github.com/SerenityOS/serenity/issues/16176
Reviewed-by: https://github.com/timschumi ✅
6 changed files with 35 additions and 39 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue