|
From: TAO R. <ron...@ho...> - 2001-07-14 04:14:51
|
Bruce,
Could you please try the following steps, and give me the output...???
1. make clena, then make again
2. cd $BCHOME/base/utils
3. edit processprepend.php remove '-q' in the first line
4. type this command
./processprepend.php $BCHOME/build/en/htdocs/prepend.php $BCHOME
$BCHOME/build/en
see what is out, and check $BCHOME/builde/en/htdocs/prepedn.php see
if the BC_PATH is correct or not. :)
ronald
>Alex/Ronald
>
>BCHOME is being set correctly
>$ echo $BCHOME
>c:/r2/binarycloud
>
>I tried this as well
>c:/r2/binarycloud/
>
>Didn't make any difference
>
>
>Permissions is not a problem in Windows.
>
>The problem is that the arguments are not coming accross from
> c:/r2/binarycloud/base/init/Makefile
>
>
># {{{ Header
># -File $Id: Makefile,v 1.4 2001/06/25 16:57:08 odysseas
Exp $
># -License LGPL (http://www.gnu.org/copyleft/lesser.html)
># -Copyright 2001, Intacct Corp.
># -Author odysseas tsatalos, ody...@ya...
># }}}
>
>include ../../Makefile.in
>
>PACKAGEDFILES= \
> Init.php \
> $(EMPTY)
>
>all: installcode installprepend
>
>installcode:
> @$(INSTALLCODE) $(BUILD_DIR) $(PACKAGEDFILES)
>
>installprepend:
> @$(INSTALLCODE) $(SITEBUILD_DIR) prepend.php
> @$(PROCESSPREPEND) $(SITEBUILD_DIR)/prepend.php $(BC_DIR)
$(BUILD_DIR)
>
>"Makefile" 22L, 525C 1,1
All
>
>----------------------------------------------------------------------------------------------------------------------------
>If I take a sledgehammer to $BCHOME/base/utils/processprepend.php
>
>/*
>AutoGenerate($argv[1], "
># define('BC_PATH', '$argv[2]');
>define('BC_PATH', '$argv[3]');
>");
>*/
>AutoGenerate("c:/r2/binarycloud/build/en/htdocs/prepend.php", "
># define('BC_PATH', '$argv[2]');
>define('BC_PATH', 'c:/r2/binarycloud');
>");
>
>
>
>It writes out the file OK, but I am afraid that something else may be
broken
>
>------------------------------------------------------------------------------------------------------------------------------
>
>If this actually worked then how do I deploy it.
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
|