aboutsummaryrefslogtreecommitdiff
path: root/contrib/imv-dir
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/imv-dir')
-rwxr-xr-xcontrib/imv-dir2
1 files changed, 1 insertions, 1 deletions
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%/*}"