diff --git a/script/solve_gsed b/script/solve_gsed
index 7a3f74a9e4b014f5400336c49f0ba5ab797dd876..50b1cb98325bd1929e6cd76cfe8822cf5e3ac07e 100755
--- a/script/solve_gsed
+++ b/script/solve_gsed
@@ -11,7 +11,7 @@ if [ x"$pcman" = x"" ]; then
         exit 1
 fi
 
-if [ x"$1" = x"osx" ]; then 
+if [ x"$1" == x"osx" ]; then 
         commands[0]="$pcman install gnu-sed"
         possible_solutions "${commands[@]}"
 fi