Multiple refactors and development on scripts/shell/job/gp folder
This commit is contained in:
10
scripts/shell/job/gp/disable-dbversion-check-on-software-info-file.sh
Executable file
10
scripts/shell/job/gp/disable-dbversion-check-on-software-info-file.sh
Executable 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
|
||||
Reference in New Issue
Block a user