angular-cn/scripts/windows/remove-symlinks.sh

12 lines
234 B
Bash

#!/usr/bin/env bash
cd `dirname $0`
while read RAW_PACKAGE
do
PACKAGE=${RAW_PACKAGE: : -1}
DESTDIR=./../../modules/\@angular/${PACKAGE}/src
rm ${DESTDIR}/facade
mv ${DESTDIR}/facade.old ${DESTDIR}/facade
done < packages.txt