]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
UBUNTU: [Debian] getabis: Commit new ABI directory, remove the old
authorTim Gardner <tim.gardner@canonical.com>
Tue, 10 Sep 2013 14:30:04 +0000 (08:30 -0600)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 20 Feb 2017 03:57:58 +0000 (20:57 -0700)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
debian/scripts/misc/getabis

index d6cbc4b852102e873d4b1abb4940ddd00d2ac0f1..aa8ed7f5b5efe25c6b92a98ab06b848d2eeb55e3 100755 (executable)
@@ -124,3 +124,7 @@ sort < $fwinfo | uniq > fwinfo.tmp
 mv fwinfo.tmp $fwinfo
 
 rmdir $tmpdir
+
+# Add the new ABI directory, remove the old
+git add $abidir
+find $DEBIAN/abi/* -maxdepth 0 -type d | grep -v $verfull | while read f; do git rm -r $f;done