Remove workaround to unpin modulesync

... because the pinning in puppet-modulesync-configs has been removed.

Depends-on: https://review.opendev.org/845529
Change-Id: Ic9f848e8ae007beb7e6551a8f831bb0215d6c4e0
This commit is contained in:
Takashi Kajinami 2022-08-16 14:05:47 +09:00
parent 191b2ee267
commit 5740a31a9e

View File

@ -146,13 +146,6 @@ else
fi
pushd x/puppet-modulesync-configs/
# TODO(tkajinam): Remove this once we remove pinning from
# puppet-modulesync-configs
if grep -q "gem 'modulesync', " ./Gemfile ; then
sed -i "s/^gem 'modulesync', .*/gem 'modulesync'/" ./Gemfile
find moduleroot/ -type f -exec git mv {} {}.erb \;
fi
# Purge .git to make sure the git command in the subdirectory does not look up
# the git infomation at the top directory.
rm -rf .git