1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

wrap lines

This commit is contained in:
Jason Nagin 2024-07-09 10:20:38 -04:00 committed by GitHub
parent ca9e0347ab
commit 5e3f1895d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,7 @@ docs:
source_file=$${line:2}; \
final_file=$${source_file//\//_}; \
mv "$${source_file}" "$${final_file}"; \
no_ext_source=$$(basename -s .md $$source_file)
no_ext_final=$$(basename -s .md $$final_file)
sed -i "s/($${no_ext_source})/($${no_ext_final})/g" *.md
no_ext_source=$$(basename -s .md $$source_file); \
no_ext_final=$$(basename -s .md $$final_file); \
sed -i "s/($${no_ext_source})/($${no_ext_final})/g" *.md; \
done