1
1
Fork 0

Line brakes are not good

Signed by @spirillen
This commit is contained in:
spirillen 2021-09-11 01:24:00 +02:00
parent 187736040c
commit 44f5637f67
No known key found for this signature in database
GPG Key ID: 30562ED6FB236E4E
1 changed files with 1 additions and 2 deletions

View File

@ -33,8 +33,7 @@ build:
script:
- echo "Do your build here"
# - git checkout -b "${CI_COMMIT_REF_NAME}"
- find "$CI_PROJECT_DIR/source/" -type f -name '*.list' \
-exec bash -c "sort -i -u -f '{}' -o '{}' " \;
- find "$CI_PROJECT_DIR/source/" -type f -name '*.list' -exec bash -c "sort -i -u -f '{}' -o '{}' " \;
# - find "${CI_PROJECT_DIR}/source/" -type f -name '*.list' \
# -exec awk -F "." '{for(i=NF; i > 1; i--) printf "%s.", $i; print $1}' \
# "{}" | sort -u | awk -F "." '{for(i=NF; i > 1; i--) printf "%s.", \