We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48b67d9 commit 09351d6Copy full SHA for 09351d6
.templates/python/directoryfix.sh
@@ -2,9 +2,12 @@
2
3
# Directoryfix for python
4
5
+#current user
6
+u=$(whoami)
7
+
8
if [ ! -d ./volumes/python/app ]; then
9
sudo mkdir -p ./volumes/python/app
- sudo chown -R $(whoami):$(whoami) ./volumes/python
10
+ sudo chown -R $u:$u ./volumes/python
11
echo 'print("hello world")' >./volumes/python/app/app.py
12
13
fi
0 commit comments