summaryrefslogtreecommitdiffstats
path: root/platform-logic/src/main/scripts/updateDgNamespace.sh
blob: cb93c6beeb1d0bb022094d8b390a6448cac0a957 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/bash

updateFile() {
sed  -i .orig -e '
s/\(xmlns=.\)http:\/\/www\.onap\.org\/sdnctl\/svclogic/\1http:\/\/www\.onap\.org\/sdnc\/svclogic/g
s/\(xsi:schemaLocation=.\)http:\/\/www\.openecomp\.org\/sdnctl\/svclogic/\1http:\/\/www\.onap\.org\/sdnc\/svclogic/g
' $1
}

for file in $@
do
	updateFile $file
done