View Single Post
Posts: 2,292 | Thanked: 4,135 times | Joined on Apr 2010 @ UK
#48
Originally Posted by saponga View Post
Ok. Here is what i got:

This time the pop-up is showed when i run the script from terminal but isn't if i use the GUI instead. But the bigger problem is that the numbers showed are wrong. No matter how many times i try, it give me always that same output. I'll turn turn the script back to sh and reboot now.
@saponga
Just remembered I forgot to remind you that you have to change the shebang too. This is why the bash workaround failed.

Code:
##Replace bin/sh for bin/bash at the top of the script.
##Like...

#!/bin/bash

##Then run from terminal as "bash opt/... "


Let me know if you have any more trouble.
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.