1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tools/update-packaging/test/catmanifest.sh Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,14 @@ 1.4 +#!/bin/bash 1.5 +# helper tool for testing. Cats the manifest out of a mar file 1.6 + 1.7 +mar="$1" 1.8 +workdir="/tmp/catmanifest" 1.9 + 1.10 +rm -rf "$workdir" 1.11 +mkdir -p "$workdir" 1.12 +cp "$1" "$workdir" 1.13 +cd "$workdir" 1.14 +mar -x "$1" 1.15 +mv updatev2.manifest updatev2.manifest.bz2 1.16 +bzip2 -d updatev2.manifest.bz2 1.17 +cat updatev2.manifest