diff options
author | VG <vg@devys.org> | 2016-01-25 20:22:09 +0100 |
---|---|---|
committer | VG <vg@devys.org> | 2016-01-25 20:22:09 +0100 |
commit | 40e78b0dfca1a1eff2112f46fb7236048e90d1f2 (patch) | |
tree | f207b4936313af7aa3328f3b6b9a851cd1a389fa | |
parent | e917bfd5f2f47465926017cfcad3b91af5b95d8f (diff) | |
download | bulkrename-40e78b0dfca1a1eff2112f46fb7236048e90d1f2.tar.gz bulkrename-40e78b0dfca1a1eff2112f46fb7236048e90d1f2.tar.bz2 bulkrename-40e78b0dfca1a1eff2112f46fb7236048e90d1f2.zip |
Change interpretor to sh for more cross platform compatibility
-rwxr-xr-x | bulkrename | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # Copyright Cédric Picard 2014 -- License WTFPL # Inspired by Ranger's -- See https://github.com/hut/ranger @@ -36,7 +36,7 @@ done > "${namebase}.sh" if [ "$(stat --printf="%s" "${namebase}.sh")" -ne 0 ] ; then "$EDITOR" "${namebase}.sh" - bash "${namebase}.sh" + sh -e -- "${namebase}.sh" fi rm -r "$(dirname "${namebase}")" |