summaryrefslogtreecommitdiff
path: root/set-root-dir.sh
diff options
context:
space:
mode:
authorDerf Null <derf@finalrewind.org>2023-04-24 15:00:25 +0200
committerDerf Null <derf@finalrewind.org>2023-04-24 15:00:25 +0200
commit8404f453f7312d5eabc0d0434c38c0549705f571 (patch)
treeecf615225c16b955fef1fee4e14bb584cdde4f09 /set-root-dir.sh
parent9a1498f70b4383d1ad75d6ec5671e434f72a273a (diff)
add set-root-dir helper
Diffstat (limited to 'set-root-dir.sh')
-rwxr-xr-xset-root-dir.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/set-root-dir.sh b/set-root-dir.sh
new file mode 100755
index 0000000..35be69f
--- /dev/null
+++ b/set-root-dir.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+sed -i 's!rootdir = "/"!rootdir = "'"$(pwd)"'"!' *.py