From 5a3d696465d215fbea01a70341d6d0eb42e72268 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 4 Oct 2021 19:26:48 +0300 Subject: imv-dir: use shell substitution instead of dirname --- contrib/imv-dir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/imv-dir b/contrib/imv-dir index d9fb46f..efe134c 100755 --- a/contrib/imv-dir +++ b/contrib/imv-dir @@ -1,2 +1,2 @@ #!/bin/sh -exec imv -n "$1" "$(dirname "$1")" +exec imv -n "$1" "${1%/*}" -- cgit v1.2.3