Sign in
apache
/
sling-aggregator
/
082d702f679722a2d1a3e3419f5f614e5af8a784
/
.
/
scripts
/
update-pom-scm.sh
blob: ec6c54fe5e8dd5febff0c38012642aeb597e83ff [
file
] [
log
] [
blame
]
#!/bin/bash -eu
if
[
!
-
f pom
.
xml
];
then
echo
"No pom.xml, skipping"
exit
0
fi
origin
=
$
(
git remote get
-
url origin
)
sed
-
i
"s#<url>https://gitbox.apache.org/repos/asf.*</url>#<url>${origin}</url>#"
pom
.
xml