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%