philcook / brew-php-switcher

Brew PHP switcher is a simple shell script to switch your apache and CLI quickly between major versions of PHP. If you support multiple products/projects that are built using either brand new or old legacy PHP functionality. For users of Homebrew (or brew for short) currently only.
MIT License
961 stars 90 forks source link

Fix bash comparison #61

Closed ikari7789 closed 5 years ago

ikari7789 commented 5 years ago

Use -ge instead of > to perform mathematical comparison in bash. Otherwise will create a file called 101300. Fixes #60.