From b9ee4733997db24b620e2b7374a6b3a79ee84d23 Mon Sep 17 00:00:00 2001
From: Pietro Incardona <incardon@mpi-cbg.de>
Date: Tue, 1 Aug 2017 18:44:32 +0200
Subject: [PATCH] Fixing zypper installation

---
 script/solve_autoconf | 2 +-
 script/solve_automake | 2 +-
 script/solve_cmake    | 2 +-
 script/solve_libtool  | 2 +-
 script/solve_python   | 2 +-
 script/solve_wget     | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/script/solve_autoconf b/script/solve_autoconf
index 7648820a6..922e13f90 100755
--- a/script/solve_autoconf
+++ b/script/solve_autoconf
@@ -14,7 +14,7 @@ if [ x"$1" = x"osx" ]; then
         commands[0]="$pcman install autoconf"
         possible_solutions "${commands[@]}"
 elif [ x"$1" = x"linux"  ]; then
-	pc_install_command $pcman
+	pc_install_command "$pcman"
         commands[0]="su -c \"$pc_install_command_ret autoconf\""
         commands[1]="sudo $pc_install_command_ret autoconf"
         possible_solutions "${commands[@]}"
diff --git a/script/solve_automake b/script/solve_automake
index f5a2e0965..ce23c1b5f 100755
--- a/script/solve_automake
+++ b/script/solve_automake
@@ -14,7 +14,7 @@ if [ x"$1" = x"osx" ]; then
         commands[0]="$pcman install automake"
         possible_solutions "${commands[@]}"
 elif [ x"$1" = x"linux"  ]; then
-	pc_install_command $pcman
+	pc_install_command "$pcman"
         commands[0]="su -c \"$pc_install_command_ret automake\""
         commands[1]="sudo $pc_install_command_ret automake"
         possible_solutions "${commands[@]}"
diff --git a/script/solve_cmake b/script/solve_cmake
index 4e9ff524e..e5dafba42 100755
--- a/script/solve_cmake
+++ b/script/solve_cmake
@@ -15,7 +15,7 @@ if [ x"$1" = x"osx" ]; then
         commands[0]="$pcman install cmake"
         possible_solutions "${commands[@]}"
 elif [ x"$1" = x"linux"  ]; then
-	pc_install_command $pcman
+	pc_install_command "$pcman"
         commands[0]="su -c \"$pc_install_command_ret cmake\""
         commands[1]="sudo $pc_install_command_ret cmake"
         possible_solutions "${commands[@]}"
diff --git a/script/solve_libtool b/script/solve_libtool
index 8fa27b0fe..8cce78925 100755
--- a/script/solve_libtool
+++ b/script/solve_libtool
@@ -16,7 +16,7 @@ if [ x"$1" = x"osx" ]; then
         commands[0]="$pcman install libtool"
         possible_solutions "${commands[@]}"
 elif [ x"$1" = x"linux"  ]; then
-	pc_install_command $pcman
+	pc_install_command "$pcman"
         commands[0]="su -c \"$pc_install_command_ret libtool\""
         commands[1]="sudo $pc_install_command_ret libtool"
         possible_solutions "${commands[@]}"
diff --git a/script/solve_python b/script/solve_python
index 95bd3eb05..3452335c0 100755
--- a/script/solve_python
+++ b/script/solve_python
@@ -14,7 +14,7 @@ if [ x"$1" = x"osx" ]; then
         commands[0]="$pcman install autoconf"
         possible_solutions "${commands[@]}"
 elif [ x"$1" = x"linux"  ]; then
-	pc_install_command $pcman
+	pc_install_command "$pcman"
         commands[0]="su -c \"$pc_install_command_ret python\""
         commands[1]="sudo $pc_install_command_ret python"
         possible_solutions "${commands[@]}"
diff --git a/script/solve_wget b/script/solve_wget
index 83bffa829..41d294548 100755
--- a/script/solve_wget
+++ b/script/solve_wget
@@ -14,7 +14,7 @@ if [ x"$1" = x"osx" ]; then
         commands[0]="$pcman install wget"
         possible_solutions "${commands[@]}"
 elif [ x"$1" = x"linux"  ]; then
-	pc_install_command $pcman
+	pc_install_command "$pcman"
         commands[0]="su -c \"$pc_install_command_ret wget\""
         commands[1]="sudo $pc_install_command_ret wget"
         possible_solutions "${commands[@]}"
-- 
GitLab