aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVG <vg@devys.org>2016-01-24 20:03:06 +0100
committerVG <vg@devys.org>2016-01-24 20:03:06 +0100
commite917bfd5f2f47465926017cfcad3b91af5b95d8f (patch)
treeaa5e3e38d196248babc04b5b9d4595e0e35d4821
parent76092539ea4ba5ba03ee71158f694e966115706c (diff)
downloadbulkrename-e917bfd5f2f47465926017cfcad3b91af5b95d8f.tar.gz
bulkrename-e917bfd5f2f47465926017cfcad3b91af5b95d8f.tar.bz2
bulkrename-e917bfd5f2f47465926017cfcad3b91af5b95d8f.zip
use same interpretor as the script for calling generated commands
-rwxr-xr-xbulkrename2
1 files changed, 1 insertions, 1 deletions
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}")"