source: lliurex-meta/trunk/fuentes/updatechangelog @ 1616

Last change on this file since 1616 was 1616, checked in by kbut, 3 years ago

update script

  • Property svn:executable set to *
File size: 419 bytes
Line 
1#!/bin/bash
2svn st | grep "M" | awk '{ print $2 }' | xargs svn diff | grep -e "^+[^+]" | sed -e "s%^+%%g" | sort -u > /tmp/addpackages
3svn st | grep "M" | awk '{ print $2 }' | xargs svn diff | grep -e "^+[^-]" | sed -e "s%^-%%g" | sort -u > /tmp/removepackages
4packages=$(cat /tmp/addpackages | tr "\n" ",")
5dch -i -U "Add ${packages::-1}"
6packages=$(cat /tmp/removepackages | tr "\n" ",")
7dch "Remove ${packages::-1}"
Note: See TracBrowser for help on using the repository browser.