When I execute the blynk-ser.sh script it gives out the reading on line 3 and 5 that pushd and popd are not found.
I’m running it on the RPi with jessie LITE and the LXDE GUI.
I executed the script from its file location (/sketchbook/libraries/Blynk/scripts)
Anybody knows a fix for those errors?
After that the output continious with trap: SIGNIT: bad trap. But this is probably because of pushd and popd not found?
Also on line 54 it says function not found and then on line 57 it gives a syntax error (unexpected “}”) But I think this is because I don’t AVRDUDE installed.
All help is greatly appreciated! Thnx!
Edit: I tried changing the first line of the script to read .sh instead of .bash but that didn’t work.
Did you solve this issue?
I’m having the same problem, this same script works like a charm on OS X, but when trying to run it on Ubuntu i get this output:
./blynk-ser.sh: 3: ./blynk-ser.sh: pushd: not found
./blynk-ser.sh: 5: ./blynk-ser.sh: popd: not found
trap: SIGINT: bad trap
[ Press Ctrl+C to exit ]
./blynk-ser.sh: 54: ./blynk-ser.sh: function: not found
./blynk-ser.sh: 57: ./blynk-ser.sh: Syntax error: "}" unexpected