tools/update-packaging/test/catmanifest.sh
author Robert Strong <robert.bugzilla@gmail.com>
Mon, 11 Apr 2011 21:23:18 -0700
changeset 67955 4ceb3de77444dd4c97b9ec6f21a45785f7793ed5
parent 32157 b9ce6908b845a8ad0c1ee7ffe578103ca12a950b
child 171973 c6123402c5f6bc949c0c37dacad1c3a913758cf1
permissions -rwxr-xr-x
1. mar packaging and build changes - Bug 386760 - directory removal with software update. r=nthomas, r=khuey

#!/bin/bash
# helper tool for testing.  Cats the manifest out of a mar file

mar="$1"
workdir="/tmp/catmanifest"

rm -rf "$workdir"
mkdir -p "$workdir"
cp "$1" "$workdir"
cd "$workdir"
mar -x "$1"
mv update.manifest update.manifest.bz2
bzip2 -d update.manifest.bz2
cat update.manifest