New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating a file called 101300 #60

REBELinBLUE opened this Issue Feb 3, 2019 · 1 comment


None yet
2 participants
Copy link

REBELinBLUE commented Feb 3, 2019

brew-php-switcher is creating a file called 101300 whenever I run it

stephen at MacBook-Pro in ~/Desktop/tmp
$ ls                                                                                                                                                                                                                                 

stephen at MacBook-Pro in ~/Desktop/tmp
$ brew-php-switcher 7.2 -s                                                                                                                                                                                                           
Switching to php@7.2
Switching your shell
Unlinking /usr/local/Cellar/php@7.0/7.0.32_2... 0 symlinks removed
Unlinking /usr/local/Cellar/php@7.1/7.1.25... 25 symlinks removed
Unlinking /usr/local/Cellar/php@7.2/7.2.14... 0 symlinks removed
Unlinking /usr/local/Cellar/php/7.3.1... 0 symlinks removed
Linking /usr/local/Cellar/php@7.2/7.2.14... 25 symlinks created

If you need to have this software first in your PATH instead consider running:
  echo 'set -g fish_user_paths "/usr/local/opt/php@7.2/bin" $fish_user_paths' >> ~/.config/fish/
  echo 'set -g fish_user_paths "/usr/local/opt/php@7.2/sbin" $fish_user_paths' >> ~/.config/fish/
All done!

stephen at MacBook-Pro in ~/Desktop/tmp
$ ls                                                                                                                                                                                                                                 

Changing line 25 from

if [ ${osx_version} > 101300 ]; then

to either if (( ${osx_version} > 101300 )); then or if [[ $(echo "$osx_version") -ge 101300 ]]; then fixes it


This comment has been minimized.

Copy link

jameswmcnab commented Feb 19, 2019

I am also seeing this behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment