From e65a92f66288281882ef2d85fb7ab7d967d0eb26 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Sun, 9 Apr 2006 09:45:00 +0000 Subject: [PATCH] Added do_copy_files --- extras/do_copy_files | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100755 extras/do_copy_files diff --git a/extras/do_copy_files b/extras/do_copy_files new file mode 100755 index 0000000..3cecf38 --- /dev/null +++ b/extras/do_copy_files @@ -0,0 +1,32 @@ +#!/bin/bash +# $Id$ +set -e + +: <> $TMP_FILE +done + +mkdir -p $3 +cd $2 +tar -X $TMP_FILE -cf - . | tar -C $3 -xf - + +# Clear out the temporary file +rm -f ${TMP_FILE}