option -p fonctionne avec defaults files

This commit is contained in:
hugogogo
2021-12-17 20:55:44 +01:00
parent c5f516c540
commit 8ebd8d9c73

View File

@@ -113,8 +113,14 @@ cd $(dirname $0)
if [ "$file" = "-p" ] if [ "$file" = "-p" ]
then then
PRINT=1 PRINT=1
if [ $# -eq 1 ]
then
LIST_FILES="$DEFAULT_FILES"
break
else
continue continue
fi fi
fi
find_path find_path
if [ -e "$file" ] if [ -e "$file" ]
then then