On Fri, Jul 23, 2004, Alexander Belck wrote: >I allready needed to reenter twice the openpkg build -Ua > upgrad.sh after >execution exited with error from previos upgrad.sh version. > >Each time I generate a new upgrad.sh script, the sequence is altered.
I typically do an ``openpkg build -Ua > /tmp/build.update'' to create the initial update file, looking at it to see if there's anything obvious that I need to deal with. After that, I then execute the script, redirecting output to a file through ``tee'' which will allow me to look at the output in case of problems: sh /tmp/build.update 2>&1 | tee /tmp/build.update_log_01 If the update fails for some reason, I'll normally try to address that issue (say moving the autoconf lines above automake if automake says it needs a more current version of autoconf), comment out everthing that's already built successfully, the rerun the build from that point on, usually increasing the log_0n number so I have a record of the changes made. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``Scientists are explorers. Philosophers are tourists.'' -- Richard Feynman ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
