Skip to content

Commit

Permalink
fix(ci): sed command for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
squakez committed Feb 20, 2023
1 parent 05d13fe commit 2e93704
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/get_catalog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

set -e
set -ex

location=$(dirname $0)
rootdir=$location/../
Expand All @@ -29,7 +29,7 @@ runtime_version="$1"
if [ ! -z $2 ]; then
# Change the settings to include the staging repo if it's not already there
echo "INFO: updating the settings staging repository"
sed -i "s;<url>https://repository\.apache\.org/content/repositories/orgapachecamel-.*</url>;<url>$2</url>;" $location/maven-settings.xml
sed -i.bak "s;<url>https://repository\.apache\.org/content/repositories/orgapachecamel-.*</url>;<url>$2</url>;" $location/maven-settings.xml
fi

# Refresh catalog sets. We can clean any leftover as well.
Expand Down

0 comments on commit 2e93704

Please # to comment.