diff --git a/script/solve_gfortran b/script/solve_gfortran index 6baa19471c03ee9e23b60e340f21b4b543d8ab02..80105ca531d12d20644b7dc5bdd05f24c7c3afb6 100755 --- a/script/solve_gfortran +++ b/script/solve_gfortran @@ -14,7 +14,7 @@ if [ x"$1" = x"osx" ]; then commands[0]="$pcman install gcc" possible_solutions "${commands[@]}" elif [ x"$1" = x"linux" ]; then - if [ x"pcman" == x"pacman" ]; then + if [ x"$pcman" == x"pacman" ]; then commands[0]="su -c \"$pcman -Sy gcc-fortran\"" commands[1]="sudo $pcman -Sy gcc-fortran" possible_solutions "${commands[@]}"