wrong modify sh

This commit is contained in:
Eugenio Romano
2016-08-19 15:27:48 +01:00
parent 42028d98d3
commit 31c12cf709

View File

@@ -29,7 +29,7 @@ for PACKAGE in \
do do
DESTDIR="$DIR/../ng2-components/${PACKAGE}" DESTDIR="$DIR/../ng2-components/${PACKAGE}"
echo "====== UPDATE VERSION of ${PACKAGE} to ${VERSION} version in all the package.json ======" echo "====== UPDATE VERSION of ${PACKAGE} to ${VERSION} version in all the package.json ======"
find ././../ -type f -name package.json -prinnpm lit0 | xargs -0 sed -i '' "s/\"${PACKAGE}\": \"0\\.2\\.0\"/\"${PACKAGE}\": \"${VERSION}\"/g" find ././../ -type f -name package.json -print0 | xargs -0 sed -i '' "s/\"${PACKAGE}\": \"0\\.2\\.0\"/\"${PACKAGE}\": \"${VERSION}\"/g"
done done
for PACKAGE in \ for PACKAGE in \