Support for A.pdf, A.tex and Ac.tex for initial files
This commit is contained in:
1 parent
42a5b9778e
commit
e4e25eca55
12 files changed
+104
-32
No files matched your search
+2
-1
@@ -8,13 +8,14 @@ fi
|
||||
|
||||
# Go to the directory
|
||||
cd "$1" || exit
|
||||
folder_name="$(basename "$PWD")"
|
||||
|
||||
count=1
|
||||
for file in *.pdf; do
|
||||
# Handle case where no pdfs exist
|
||||
[ -e "$file" ] || continue
|
||||
|
||||
if [ "$file" = "enonce.pdf" ]; then
|
||||
if [ "$file" = "enonce.pdf" ] || [ "$file" = "énoncé.pdf" ] || [ "$file" = "$folder_name.pdf" ]; then
|
||||
echo "Skipping: $file"
|
||||
continue
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user