Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PKG_ROOTS=$(find -name Makefile | sed -e 's@./\(.*\)/Makefile@\1@')
- CHANGES=$(git diff --diff-filter=d --name-only origin/master)
- for ROOT in $PKG_ROOTS; do
- for CHANGE in $CHANGES; do
- if [[ "$CHANGE" == "$ROOT"* ]]; then
- PACKAGES+=$(echo $ROOT | sed -e 's@.*/@ @')
- fi
- done
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement