From e917bfd5f2f47465926017cfcad3b91af5b95d8f Mon Sep 17 00:00:00 2001 From: VG Date: Sun, 24 Jan 2016 20:03:06 +0100 Subject: use same interpretor as the script for calling generated commands --- bulkrename | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bulkrename b/bulkrename index 4295e13..733b87d 100755 --- a/bulkrename +++ b/bulkrename @@ -36,7 +36,7 @@ done > "${namebase}.sh" if [ "$(stat --printf="%s" "${namebase}.sh")" -ne 0 ] ; then "$EDITOR" "${namebase}.sh" - sh "${namebase}.sh" + bash "${namebase}.sh" fi rm -r "$(dirname "${namebase}")" -- cgit v1.2.3