Multiple refactors and development on scripts/shell/job/gp folder

This commit is contained in:
Matheus Albino Brunhara
2024-03-28 13:25:16 -03:00
parent fbbff60029
commit 6c2bfc5ace
5 changed files with 478 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
#!/bin/bash
filename='software-info.xml'
if [ ! -f "$filename" ]; then
echo "Could not find the file \"$filename\" in the current directory."
exit 1
fi
xmlstarlet ed --inplace --update '//attribute[@name="version"]' --value "." $filename