Update Launcher.php - call sh with absolute path#362
Update Launcher.php - call sh with absolute path#362nivadis wants to merge 1 commit intonextcloud:masterfrom
Conversation
use absolute path Signed-off-by: Valentin Conrad <nivadis@users.noreply.github.com>
|
why would we want to do this? |
|
for me as example: the nixos nextcloud-cron doesn't have the valid $PATH to find sh. but this will also be fixed hopefully NixOS/nixpkgs#356988 |
|
I think it is fair to assume What would be more acceptable is to check whether The most preferred solution though is that the nix package provides a path to the |
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
|
The fallback to /bin/sh sounds good to me, but i agree the issue should also be fixed on the nix side. |
use absolute path for sh command