#!/bin/sh
set -e
if [ $# -ne 2 ] ; then
    echo "Need <OLD> and <NEW> as arguments" >&2
    exit 1
fi
old=$1
new=$2

git grep -l "$old" | xargs sed -i -e "s,$old,$new,g"

Add a helper script for bulk updating component sha's
Add a helper script for bulk updating component sha's

Signed-off-by: Ian Campbell <9be92b3dbbd6611e3e4c9209fb3d04b4919e7cca@docker.com>
