From 40e78b0dfca1a1eff2112f46fb7236048e90d1f2 Mon Sep 17 00:00:00 2001 From: VG Date: Mon, 25 Jan 2016 20:22:09 +0100 Subject: Change interpretor to sh for more cross platform compatibility --- bulkrename | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bulkrename b/bulkrename index 733b87d..d86f7a8 100755 --- a/bulkrename +++ b/bulkrename @@ -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}")" -- cgit v1.2.3