Update export_src.sh

This commit is contained in:
rpelmegov 2023-01-13 06:37:01 +03:00 committed by GitHub
parent 55ab60b6ea
commit 45fbc84578
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -46,8 +46,10 @@ done
find . -name ".git*" -print0 | xargs -0 rm -rf
zip -r -q ${SRC_FOLDER_NAME}.zip .
find . -name "*[<>:\\|?*]*"
./ProjectName/Extensions/Foundation/Int64?
./ProjectName/Extensions/Foundation/Int64?/Int64?+Extensions.swift
if find . -name "*[<>:\\|?*]*" | xargs -I %s echo "in path %s" | xargs -0 echo "Invalid characters [<>:\|?*]" | grep .
then
echo "Abort the script"
exit
fi
open .