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