debug asfshell plugin
diff --git a/pelicanconf.py b/pelicanconf.py
index e9c489f..ce64b68 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -151,7 +151,7 @@
# COnfigure the shell commands for the asfshell plugin to run during initialization
ASF_SHELL = [
- 'pwd',
+ 'echo $PWD',
'find . -name "*.ezmd"'
]
diff --git a/theme/plugins/asfshell.py b/theme/plugins/asfshell.py
index 958aeec..7dc2a41 100644
--- a/theme/plugins/asfshell.py
+++ b/theme/plugins/asfshell.py
@@ -43,7 +43,7 @@
print('-----\nasfshell')
for command in asf_shell:
print(f'-----\n{command}')
- args = shlex.split('/bin/bash '+command)
+ args = shlex.split(command)
with os_run(args) as s:
for line in s.stdout:
line = line.strip()