Skip to content
Snippets Groups Projects
Commit 8f1b5084 authored by mkaply%us.ibm.com's avatar mkaply%us.ibm.com
Browse files

# 41349

r = cls, a = brendan
OS/2 bring-up - Our bash shell can't handle lines with the : command - cls said to comment them out
parent 1d983d4f
No related branches found
No related tags found
No related merge requests found
...@@ -262,7 +262,7 @@ everything: checkout clean build ...@@ -262,7 +262,7 @@ everything: checkout clean build
# CVS checkout # CVS checkout
# #
checkout:: checkout::
@: Backup the last checkout log. # @: Backup the last checkout log.
@if test -f $(CVSCO_LOGFILE) ; then \ @if test -f $(CVSCO_LOGFILE) ; then \
mv $(CVSCO_LOGFILE) $(CVSCO_LOGFILE).old; \ mv $(CVSCO_LOGFILE) $(CVSCO_LOGFILE).old; \
else true; \ else true; \
...@@ -274,8 +274,8 @@ checkout:: ...@@ -274,8 +274,8 @@ checkout::
$(MAKE) -f mozilla/client.mk real_checkout $(MAKE) -f mozilla/client.mk real_checkout
real_checkout: real_checkout:
@: Start the checkout. Split the output to the tty and a log file. \ # @: Start the checkout. Split the output to the tty and a log file. \
: If it fails, touch an error file because "tee" hides the error. # : If it fails, touch an error file because "tee" hides the error.
@failed=.cvs-failed.tmp; rm -f $$failed*; \ @failed=.cvs-failed.tmp; rm -f $$failed*; \
cvs_co() { echo "$$@" ; \ cvs_co() { echo "$$@" ; \
("$$@" || touch $$failed) 2>&1 | tee -a $(CVSCO_LOGFILE) && \ ("$$@" || touch $$failed) 2>&1 | tee -a $(CVSCO_LOGFILE) && \
...@@ -285,7 +285,7 @@ real_checkout: ...@@ -285,7 +285,7 @@ real_checkout:
cvs_co $(CVSCO_LDAPCSDK) && \ cvs_co $(CVSCO_LDAPCSDK) && \
cvs_co $(CVSCO_SEAMONKEY) cvs_co $(CVSCO_SEAMONKEY)
@echo "checkout finish: "`date` | tee -a $(CVSCO_LOGFILE) @echo "checkout finish: "`date` | tee -a $(CVSCO_LOGFILE)
@: Check the log for conflicts. ;\ # @: Check the log for conflicts. ;\
conflicts=`egrep "^C " $(CVSCO_LOGFILE)` ;\ conflicts=`egrep "^C " $(CVSCO_LOGFILE)` ;\
if test "$$conflicts" ; then \ if test "$$conflicts" ; then \
echo "$(MAKE): *** Conflicts during checkout." ;\ echo "$(MAKE): *** Conflicts during checkout." ;\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment