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,7 +113,13 @@ cd $(dirname $0)
if [ "$file" = "-p" ]
then
PRINT=1
continue
if [ $# -eq 1 ]
then
LIST_FILES="$DEFAULT_FILES"
break
else
continue
fi
fi
find_path
if [ -e "$file" ]