vfurmane / pipex-tester

Project Tester - Pipex
MIT License
73 stars 5 forks source link

run.sh -c doesn't work but change pipex-tester/script/config.sh then work fine #1

Closed exgs closed 3 years ago

exgs commented 3 years ago

https://github.com/vfurmane/pipex-tester/blob/38cc9697aa86c8321deeadd85af25a1c4cca3b5d/scripts/config.sh#L22

I'm using MacOs BigSur & Mac Air 2020. when run.sh -cdoesn't work for my cadets. like as.

스크린샷 2021-07-16 오후 7 18 25

So, just Changeread -N 1 -r check_update TO read -n 1 -r check_update then work fine

vfurmane commented 3 years ago

Hello, thanks for your feedback.

The main problem, as you probably noticed, is that bash does not behave the same way on Linux and on Darwin. So using -n globally would have other drawbacks on Linux. So I just used an if statement to check the OSTYPE, and the script will select the right option.

You can git pull and everything should work as expected. Let me know if it is not the case ! 🙂

exgs commented 3 years ago

No more appear! Thanks for your working.