From 254f6fa3d260c6f2fd194cbc44db32b53f893f18 Mon Sep 17 00:00:00 2001 From: Christian Nicolai Date: Sat, 6 Aug 2011 23:08:34 +0200 Subject: [PATCH] Generator script for bundles --- misc/gen-jsf-bundle.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 misc/gen-jsf-bundle.sh diff --git a/misc/gen-jsf-bundle.sh b/misc/gen-jsf-bundle.sh new file mode 100755 index 0000000..8bf42f1 --- /dev/null +++ b/misc/gen-jsf-bundle.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +PREFIX="jsf-bundle" + +if [[ $1 == "" ]]; then + echo "Number missing!" + exit 1 +else + num=$1 +fi + +tar cvf "${PREFIX}_$num.tar" --exclude="*.part.jsf" *.jsf \ No newline at end of file