From d47d6a7174acf1f70b5a1e0fd864e2f1118a7912 Mon Sep 17 00:00:00 2001
From: Pietro Incardona <incardon@mpi-cbg.de>
Date: Sat, 29 Jul 2017 19:28:37 +0200
Subject: [PATCH] Fixing gfortran for archlinux

---
 script/solve_gfortran | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/script/solve_gfortran b/script/solve_gfortran
index 6baa1947..80105ca5 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[@]}"
-- 
GitLab