This repository has been archived on 2023-02-26. You can view files and clone it, but cannot push or open issues or pull requests.
langue-phundrak-com/clean.sh

18 lines
343 B
Bash
Raw Normal View History

2018-05-16 01:22:47 +00:00
#!/bin/sh
if [ $# -eq 0 ]; then
project_root=`pwd`
2018-08-21 16:45:21 +00:00
rm -f index.pdf
2018-05-16 01:22:47 +00:00
else
project_root=$1
fi
2018-10-05 11:15:22 +00:00
rm -rf *~ auto _minted* *.tex *.aux *.log *.toc *.out headers.pdf headers.html index.pdf
2018-05-16 01:22:47 +00:00
for filename in *; do
if [[ -d $filename ]]; then
cd $filename
sh $project_root/clean.sh $project_root
cd ..
fi
done