Fix running within bash