tools/perl-integrate-module
@@ -175,6 +175,9 @@ fi # Remove everything that is not in git rm -rf * git checkout . > /dev/null 2>&1 # Remove everything from git (except known patches, files, history, and $CONF) [[ -f "$CONF" ]] && grep "^%patch%" "$CONF" | while read TAG PATCH ; do rm -f "patches/$PATCH" ; done [[ -f "$CONF" ]] && grep "^%file%" "$CONF" | while read TAG FILE ; do rm -f "files/$FILE" ; done