summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
af2e193)
Tests in sh and bash behave differently:
test in sh reports false if the file doesn't exist,
test in bash reports true if the file doesn't exist.
PYTHONIOENCODING=koi8-r:replace
export PYTHONPATH PYTHONIOENCODING
PYTHONIOENCODING=koi8-r:replace
export PYTHONPATH PYTHONIOENCODING
-if [ phd_site.tmpl -nt phd_site.py ]; then
+if [ \! -e phd_site.py -o phd_site.tmpl -nt phd_site.py ]; then
cheetah compile --encoding=koi8-r --settings='encoding="koi8-r"' --nobackup phd_site.tmpl &&
compyle phd_site.py
fi &&
cheetah compile --encoding=koi8-r --settings='encoding="koi8-r"' --nobackup phd_site.tmpl &&
compyle phd_site.py
fi &&