From 789a8aa1a5c82828d139d99f133f0efe7e69d107 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 21 Mar 2012 12:37:31 +0100 Subject: easy_e17.sh: set path argument in run_command even if not used --- easy_e17.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/easy_e17.sh b/easy_e17.sh index 2e96e73..05535a4 100755 --- a/easy_e17.sh +++ b/easy_e17.sh @@ -1126,15 +1126,15 @@ function compile () if [ ! -e "$status_path/$name.noerrors" ] ; then return ; fi fi cd "${ewk_build_dir}" - run_command "$name" "NOT USED" "make" "make: " "$mode" "$make" + run_command "$name" "$ewk_build_dir" "make" "make: " "$mode" "$make" if [ ! -e "$status_path/$name.noerrors" ] ; then return ; fi - run_command "$name" "NOT USED" "install" "install: " "rootonly" "$make install" + run_command "$name" "$ewk_build_dir" "install" "install: " "rootonly" "$make install" if [ ! -e "$status_path/$name.noerrors" ] ; then return ; fi elif [ -e "CMakeLists.txt" ]; then if [ ! -e "Makefile" ] || [ $package_make_only != 1 ] || [ $package_clean -gt 1 ]; then [ -e $cmake_build_dir ] || mkdir $cmake_build_dir cd $cmake_build_dir || exit 1 - run_command "$name" "$path" "cmake" "cmake : " "$mode" "cmake -DCMAKE_INSTALL_PREFIX=$install_path $cmake_options $args .." + run_command "$name" "$cmake_build_dir" "cmake" "cmake : " "$mode" "cmake -DCMAKE_INSTALL_PREFIX=$install_path $cmake_options $args .." if [ ! -e "$status_path/$name.noerrors" ] ; then return ; fi fi run_command "$name" "$path" "make" "make: " "$mode" "$make -j $threads" -- cgit v1.1-2-g2b99