diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-03-21 12:37:31 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-03-21 12:37:31 +0100 |
commit | 789a8aa1a5c82828d139d99f133f0efe7e69d107 (patch) | |
tree | a3325c873d941e96e7654119ce4560a1455b8032 | |
parent | 126445b47b82ed39ad309a933d68373344361ed9 (diff) | |
download | bin-789a8aa1a5c82828d139d99f133f0efe7e69d107.zip bin-789a8aa1a5c82828d139d99f133f0efe7e69d107.tar.gz |
easy_e17.sh: set path argument in run_command even if not used
-rwxr-xr-x | easy_e17.sh | 6 |
1 files 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" |