From 3181917e2c119ee9d294d0f7b75fca5cea5d993f Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Fri, 29 Oct 2010 04:49:18 +0200 Subject: [PATCH] variable for build output --- build.cmd | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/build.cmd b/build.cmd index 32d7609..dfce940 100644 --- a/build.cmd +++ b/build.cmd @@ -1,4 +1,5 @@ -#!cmd.exe -cat SG_iCal.php | grep -v "BUILD: Remove line" > sgical.php -DIR /B /S helpers | grep SG_iCal | grep -v svn | sed -e "s/\\/\//g" | xargs cat | grep -v "BUILD: Remove line" >> sgical.php -DIR /B /S blocks | grep SG_iCal | grep -v svn | sed -e "s/\\/\//g" | xargs cat | grep -v "BUILD: Remove line" >> sgical.php +@SET OUTPUT=.\sgical.php + +cat SG_iCal.php | grep -v "BUILD: Remove line" > %OUTPUT% +DIR /B /S helpers | grep SG_iCal | grep -v svn | sed -e "s/\\/\//g" | xargs cat | grep -v "BUILD: Remove line" >> %OUTPUT% +DIR /B /S blocks | grep SG_iCal | grep -v svn | sed -e "s/\\/\//g" | xargs cat | grep -v "BUILD: Remove line" >> %OUTPUT%