Skip to content

Commit

Permalink
Merge pull request #61 from philcook/ikari7789-patch-1-1
Browse files Browse the repository at this point in the history
Fix bash comparison
  • Loading branch information
philcook authored Feb 27, 2019
2 parents 8180615 + 27a9196 commit c11da3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpswitch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ php7_module="php7_module"
apache_php7_lib_path="\/lib\/httpd\/modules\/libphp7.so"

native_osx_php_apache_module="LoadModule ${php5_module} libexec\/apache2\/libphp5.so"
if [ ${osx_version} > 101300 ]; then
if [ "${osx_version}" -ge "101300" ]; then
native_osx_php_apache_module="LoadModule ${php7_module} libexec\/apache2\/libphp7.so"
fi

Expand Down

0 comments on commit c11da3b

Please sign in to comment.