From 0fa6030050f5d80a1c331d7de48ba41143ceb8d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sat, 6 Jan 2024 11:52:21 +0100 Subject: [PATCH] Fix _install_phantomjs --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index fd0fb7d..3d9b757 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -14,7 +14,7 @@ _install_phantomjs() { ynh_setup_source --dest_dir="$source_dir" --source_id="phantomjs" pushd "$source_dir" - ynh_exec_warn_less DESTDIR="$destdir" ./configure + ynh_exec_warn_less env PREFIX="$destdir" ./configure ynh_exec_warn_less make -j "$(nproc)" ynh_exec_warn_less make install popd