summaryrefslogtreecommitdiff
path: root/private_dot_local/bin/executable_wine-run-with-cd
diff options
context:
space:
mode:
Diffstat (limited to 'private_dot_local/bin/executable_wine-run-with-cd')
-rw-r--r--private_dot_local/bin/executable_wine-run-with-cd6
1 files changed, 6 insertions, 0 deletions
diff --git a/private_dot_local/bin/executable_wine-run-with-cd b/private_dot_local/bin/executable_wine-run-with-cd
new file mode 100644
index 0000000..6bb6d49
--- /dev/null
+++ b/private_dot_local/bin/executable_wine-run-with-cd
@@ -0,0 +1,6 @@
1#!/bin/sh
2
3DIRNAME=$(dirname "$1")
4BASENAME=$(basename "$1")
5
6cd "$DIRNAME" && exec wine "$BASENAME"