build: update spec for renamed versions of some doc files
[pcp.git] / Makepkgs
blob6a1600adca2d9a82a2956b0cd6a2df351e041874
1 #!/bin/sh
3 # Make whichever packages the system supports
5 # Copyright (c) 2012-2016 Red Hat.
6 # Copyright (c) 2004 Silicon Graphics, Inc. All Rights Reserved.
7 #
8 # This program is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by the
10 # Free Software Foundation; either version 2 of the License, or (at your
11 # option) any later version.
13 # This program is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 # for more details.
19 topdir=`pwd`
20 signed=false
21 verbose=false
22 srconly=false
23 dorpm=unknown
24 dodeb=unknown
25 parfait=false
26 vector=false
27 webjs=false
28 docker=false
30 if [ ! -d .git ]
31 then
32 echo "Error: can only be run from within the PCP git repository"
33 exit 1
36 if [ ! -f VERSION.pcp ]
37 then
38 echo "Error: can only be run from within the PCP source tree"
39 exit 1
42 tmp=`mktemp -d /tmp/pcp.XXXXXXXXX` || exit 1
43 trap "rm -rf $tmp $tmp.help" 0 1 2 3 15
44 target=`uname -s | tr 'A-Z' 'a-z'`
46 # Find where a GNU tool is hiding, look for this line in the
47 # $gnutool --help output ...
48 # "Report bugs to <bug-$gnutool@gnu.org>"
49 # or lines like this:
50 # FreeBSD $gnutool
51 # NetBSD $gnutool
52 # OpenBSD $gnutool
53 # Apple $gnutool
54 # or these lines:
55 # *This* tar defaults to:
56 # --format=gnu ...
58 gnu_tool()
60 prefix="$1"
61 shift
62 envvar="$1"
63 shift
64 oldcmd="$1"
65 shift
67 # Not in the environment, go search for it in the known locations.
69 if [ -z "$envvar" ]
70 then
71 for command in $oldcmd $@
73 exec=`which $command 2>/dev/null`
74 if [ -n "$exec" ]
75 then
76 $command --help >$tmp.help 2>&1
77 if egrep "(bug-$oldcmd@gnu.org)|(FreeBSD $command)|(NetBSD $command)|(OpenBSD $command)|(Apple $command)" $tmp.help >/dev/null
78 then
79 echo $exec
80 return 0
82 awk <$tmp.help >$tmp.check '
83 BEGIN { want = 0 }
84 /This\** tar defaults to:/ { want=1; next }
85 want == 1 { print; exit }'
86 if grep '[-][-]format=gnu' <$tmp.check >/dev/null
87 then
88 echo $exec
89 return 0
91 # special cases
93 if [ "$target" = openbsd -a $command = gzip ]
94 then
95 echo $exec
96 return 0
99 done
100 echo >&2 "$prefix: can't find GNU $oldcmd in the commands $oldcmd or $@"
101 [ $prefix = Error ] && exit 1
102 return 1
105 # Use the environment request and ensure it is a full path (do not
106 # change this behaviour, it is required for backward-compatibility
107 # - QA failures will result if you choose to ignore this warning).
109 command=`which $envvar 2>/dev/null`
110 if [ -z "$command" ]
111 then
112 echo >&2 "$prefix: $oldcmd (from the environment) does not exist!"
113 [ $prefix = Error ] && exit 1
114 return 1
116 echo $command
117 return 0
120 export MAKE=`gnu_tool Error "$MAKE" make gmake`
121 export TAR=`gnu_tool Warning "$TAR" tar gtar gnutar`
122 export ZIP=`gnu_tool Error "$ZIP" gzip gnuzip`
124 # check if tar supports --transform else we must use git-archive later on (e.g. RHEL5)
125 [ -n "$TAR" ] && $TAR --help | 2>&1 grep -q transform || USE_GIT_ARCHIVE=1
126 #debug# echo TAR=$TAR USE_GIT_ARCHIVE=$USE_GIT_ARCHIVE
128 configure=./configure
129 cmdline_configopts=''
131 for opt in $*
133 case "$opt" in
134 -clean|--clean)
135 # we always clean nowadays, so silently ignore
136 shift
138 -verbose|--verbose)
139 verbose=true
140 shift
142 --nonrpm)
143 dorpm=false
144 shift
146 --nondeb)
147 dodeb=false
148 shift
150 --signed)
151 signed=true
152 shift
154 --source)
155 srconly=true
156 shift
158 --target)
159 shift
160 target=$1
161 shift
163 --with-parfait)
164 cmdline_configopts="$cmdline_configopts $opt"
165 parfait=true
166 shift
168 --with-vector)
169 cmdline_configopts="$cmdline_configopts $opt"
170 vector=true
171 shift
173 --with-webjs)
174 cmdline_configopts="$cmdline_configopts $opt"
175 webjs=true
176 shift
178 --with-docker)
179 docker=true
180 shift
182 --with-make)
183 MAKE=$1
184 shift
186 --with-tar)
187 TAR=$1
188 shift
190 --with-zip)
191 ZIP=$1
192 shift
195 # Add remaining options to the ./configure command line
196 cmdline_configopts="$cmdline_configopts $opt"
197 shift
199 esac
200 done
202 if [ $dorpm = unknown ]
203 then
204 dorpm=false
205 [ -x /usr/bin/rpmbuild ] && dorpm=true
207 if [ $dodeb = unknown ]
208 then
209 dodeb=false
210 [ -x /usr/bin/dpkg-buildpackage ] && dodeb=true
213 # Hmm ...
215 if $dodeb && $dorpm
216 then
217 echo >&2 "Do not know how to build RPM and Debian packages at the same time!"
218 echo >&2 "Suggest --nonrpm or --nondeb on the command line."
219 exit 1
222 if $dodeb
223 then
224 # On Debian-based platforms, the debian/rules file already captures
225 # most of the required configure settings in $(configure_paths)
227 configopts=''
228 elif $dorpm
229 then
230 # On RPM-based platforms, rpm macros provide an excellent set of defaults.
231 # This set is based on Fedora 22 %configure macro from /usr/lib/rpm/macros,
232 # and is known to work as far back as RHEL5.
233 configopts="`rpmbuild --eval '--prefix=%{_prefix} --exec-prefix=%{_exec_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir}' 2>/dev/null`"
234 # rpmbuild clears the environment, so force these settings into the
235 # rpm build configure
237 configopts="$configopts --with-make=$MAKE --with-tar=$TAR --with-zip=$ZIP"
238 elif [ $target = darwin ]
239 then
240 # On Mac OS X platforms, we install away from /usr/bin, /usr/lib
241 # and so on because of security requirements in recent versions.
243 configopts="--prefix=/usr/local --sysconfdir=/etc --localstatedir=/var"
244 elif [ $target = netbsd ]
245 then
246 # Try to mimic where pkgsrc/pkgin place things
248 configopts="--prefix=/usr/pkg --exec-prefix=/usr/pkg --mandir=/usr/pkg/man --with-rcdir=/etc/rc.d --localstatedir=/usr/pkg --with-rundir=/var/run --with-tmpdir=/var/tmp --with-logdir=/var/log/pcp"
249 else
250 # Bog-standard options suitable for a package on any platform.
251 # Command line can be used to extend this set, and any unusual
252 # platform-specific requirements are also appended later on.
253 configopts="--prefix=/usr --sysconfdir=/etc --localstatedir=/var"
256 # Platform-specific variants ...
258 case "$target"
260 mingw|mingw64|windows)
261 target=mingw
262 dorpm=false
263 configopts="$configopts --disable-ssp"
264 export configure="/usr/bin/mingw64-configure"
265 export MAKE="/usr/bin/mingw64-make"
266 export QMAKE="/usr/bin/mingw64-qmake-qt4"
267 export PKG_CONFIG="/usr/bin/mingw64-pkg-config"
269 linux)
270 ARCH=`uname -m`
271 [ -f /etc/slackware-version -a "$ARCH" = x86_64 ] && configopts="$configopts --libdir=/usr/lib64"
273 sunos|SunOS)
274 ARCH=`isainfo -k`
275 [ "$ARCH" = amd64 -o "$ARCH" = sparcv9 ] && configopts="$configopts --libdir=/usr/lib/64"
276 export YACC=bison
277 export LEX=flex
279 esac
281 # now some specific QA/development hosts with special needs ...
283 case `hostname`
285 vm04|vm04.localdomain|vm11|vm11.localdomain)
286 # gcc -O2 is broken here (for the linux PMDA)
288 configopts="$configopts --with-optimization=no"
289 # over-ride the settings from dpkg-buildflags
291 export DEB_CFLAGS_SET=''
292 export DEB_CXXFLAGS_SET=''
294 esac
296 # and finally add in any from the command line
298 [ -n "$cmdline_configopts" ] && configopts="$configopts $cmdline_configopts"
300 . ./VERSION.pcp
301 VERSION=${PACKAGE_MAJOR}.${PACKAGE_MINOR}.${PACKAGE_REVISION}
303 LOGDIR=$topdir/Logs
304 rm -rf "$LOGDIR"
305 mkdir -p "$LOGDIR"
307 source=pcp-${VERSION}
308 SRCDIR="$topdir/$source"
309 SRCTREE="$topdir/$source"
310 SRCTAR=$topdir/build/tar/$source.src.tar.gz
311 SRCWEBJS=$topdir/build/tar/webjs.tar.gz
312 SRCVECTOR=$topdir/build/tar/vector.tar.gz
313 SRCPARFAIT=$topdir/build/tar/parfait.tar.gz
315 build_failure()
317 # only print in non-verbose mode, otherwise we see double
318 if ! $verbose ; then
319 echo $@ failed, see log in $LOGDIR/pcp
320 tail $LOGDIR/pcp
322 exit 1
325 clean_packaging()
327 echo
328 echo "== Cleaning build tree for packaging build"
329 rm -rf "$SRCDIR" "$SRCTAR" .gitcensus
332 fix_version()
334 if [ -f "$1" -a -f "$2" ]
335 then
336 # as expected, both present
337 if diff "$1" "$2" >/dev/null 2>&1
338 then
340 else
341 # must be using git-archive(1) and VERSION.pcp has been
342 # modified, e.g. by pcp-daily script ... use the modified
343 # one to bump the build number in the packages
345 cp "$1" "$2"
347 else
348 echo "Arrgh ... expect both these to exist ..."
349 ls -l "$1" "$2"
350 exit 1
354 # Download sources from external repositories that we might want
355 # to include with the PCP packages.
357 third_parties()
359 if $parfait
360 then
361 if [ ! -f "$SRCPARFAIT" ]
362 then
363 echo "== Downloading Parfait package"
364 url=https://github.com/performancecopilot/parfait/archive/master.zip
365 wget -H -q -O $tmp/java.zip "$url"
366 [ $? -eq 0 ] && ./scripts/zip2tar $tmp/java.zip "$SRCPARFAIT"
368 if [ -f "$SRCPARFAIT" ]
369 then
370 DESTPARFAIT="$SRCTREE/build/tar/"`basename "$SRCPARFAIT"`
371 cp "$SRCPARFAIT" "$DESTPARFAIT"
375 if $vector
376 then
377 DESTVECTOR="$SRCTREE/build/tar/"`basename "$SRCVECTOR"`
378 if [ ! -f "$SRCVECTOR" ]
379 then
380 echo "== Downloading Vector webapp"
381 url=https://bintray.com/artifact/download/netflixoss/downloads/vector.tar.gz
382 wget -H -q -O "$SRCVECTOR" "$url"
383 [ $? -eq 0 ] && echo "Wrote: $SRCVECTOR"
384 mkdir $tmp/vector && pushd $tmp/vector && $TAR -zxf "$SRCVECTOR"
385 $topdir/scripts/build-vector
386 [ $? -eq 0] || exit 1
387 cd dist && $TAR -czf "$DESTVECTOR" *
388 popd
389 else
390 cp "$SRCVECTOR" "$DESTVECTOR"
394 if $webjs
395 then
396 if [ ! -f "$SRCWEBJS" ]
397 then
398 echo "== Downloading webjs webapps"
399 url=https://github.com/performancecopilot/pcp-webjs/archive/master.zip
400 wget -H -q -O $tmp/js.zip "$url"
401 [ $? -eq 0 ] && ./scripts/zip2tar $tmp/js.zip "$SRCWEBJS"
403 if [ -f "$SRCWEBJS" ]
404 then
405 DESTWEBJS="$SRCTREE/build/tar/"`basename "$SRCWEBJS"`
406 cp "$SRCWEBJS" "$DESTWEBJS"
411 # Generate a list of all the files git knows about, create the
412 # source tarball and then unpack it. We'll then do the package
413 # build in a guaranteed pristine environment.
415 src_tar_build()
417 if [ -z "$TAR" -o ! -z "$USE_GIT_ARCHIVE" ]
418 then
419 # no suitable GNU tar is available, use git-archive(1) - no local changes
420 if git status -s src man | grep '^.M'
421 then
422 echo "Arrgh, modified src files and either no tar ($TAR) or no --transform"
423 echo "support in tar, so local changes would not be included in the build."
424 exit 1
426 git archive --format=tar --prefix=$source/ HEAD | $ZIP > $SRCTAR
427 else
428 # build git file list and make tarball by hand to pick up any changes
430 git ls-files > .gitcensus
432 # but first ensure a "build everything" debian/control has been
433 # recreated
435 cd debian
436 if ./pre-build
437 then
439 else
440 echo "Error: debian/pre-build failed when creating debian/control"
441 exit 1
443 cd ..
444 echo "debian/control" >> .gitcensus
446 $TAR -cz --transform="s,^,$source/," --files-from=.gitcensus \
447 --file=$SRCTAR
448 rm .gitcensus
450 echo "Wrote: $SRCTAR"
453 # On sanity checks :- this is sick, but I'm really tired of QA failing
454 # because of bad binaries being built from the Debian/Ubuntu toolchain
455 # for # i?86 platforms
456 # - Ken McDonell Apr 2010
458 sanity_check_settings()
460 OPT=false
461 ARCH=`uname -m | sed -e 's/i.86/ia32/'`
462 if [ "$ARCH" != "ia32" ]
463 then
464 OPT=true # no workarounds needed for non-i?86 platforms
465 elif [ -f /etc/lsb-release ]
466 then
467 if grep -q 'DISTRIB_ID=Ubuntu' /etc/lsb-release
468 then
469 eval `grep DISTRIB_RELEASE= /etc/lsb-release`
470 XDISTRIB_RELEASE=`echo $DISTRIB_RELEASE | sed -e 's/[^0-9]//g'`
471 [ -z "$XDISTRIB_RELEASE" ] && XDISTRIB_RELEASE=0000
472 if [ $XDISTRIB_RELEASE -gt 1110 ]
473 then
474 # Hope the problem is fixed after Ubuntu 11.10
475 OPT=true
478 $OPT || echo "Building without optimization for Ubuntu $DISTRIB_RELEASE"
479 elif [ -f /etc/debian_version ]
480 then
481 DISTRIB_RELEASE=`cat /etc/debian_version`
482 XDISTRIB_RELEASE=`echo $DISTRIB_RELEASE | sed -e 's/[^0-9]//g'`
483 [ -z "$XDISTRIB_RELEASE" ] && XDISTRIB_RELEASE=0000
484 if [ $XDISTRIB_RELEASE -ge 700 ]
485 then
486 # Hope the problem is fixed in Debian 7.0.0
487 OPT=true
489 $OPT || echo "Building without optimization for Debian $DISTRIB_RELEASE"
492 if ! $OPT
493 then
494 ok=true
495 if grep -q '^my $default_flags .*O2' /usr/bin/dpkg-buildpackage
496 then
497 echo 'dpkg-buildpackage: need to remove O2 from $default_flags'
498 ok=false
500 if grep -q '^[ ]*LDFLAGS.*-Bsymbolic-functions' /usr/bin/dpkg-buildpackage
501 then
502 echo 'dpkg-buildpackage: need to remove -Bsymbolic-function from LDFLAGS'
503 ok=false
505 if ! $ok
506 then
507 echo "Refer to Debian/Ubuntu notes in PCP's ./INSTALL"
508 exit 1
510 # as of Debian 6.0.1 and Ubuntu 10.10, build flags are hidden and
511 # extracted using dpkg-buildflags which fortunately honours some
512 # environment variable settings
514 export DEB_CFLAGS_SET=''
515 export DEB_CXXFLAGS_SET=''
516 export DEB_LDFLAGS_SET=''
520 # Build Debian packages using the dpkg-buildpackage utility which runs
521 # the complete build, from configure through to final deb preparation.
523 debian_buildpackage()
525 echo
526 echo "== Building deb packages using dpkg-buildpackage"
528 SUDO=${SUDO:-fakeroot}
529 # don't sign by default
530 sign='-us -uc'
531 # sign if --signed and $DEB_SIGN_KEYID set in the environment
532 $signed && [ -n "$DEB_SIGN_KEYID" ] && sign=''
533 rm -f $tmp/failed
534 if $verbose ; then
535 (dpkg-buildpackage $sign -r$SUDO || touch $tmp/failed) 2>&1 | tee -a $LOGDIR/pcp
536 else
537 (dpkg-buildpackage $sign -r$SUDO || touch $tmp/failed) >>$LOGDIR/pcp 2>&1
539 [ -f $tmp/failed ] && build_failure debian buildpackage
542 prepare_debian_sources()
544 # shortcut for dpkg-buildpackage which does everything itself from here
545 rm -rf "$SRCDIR"
546 mkdir -p "$SRCDIR" 2>/dev/null
548 cd "$SRCDIR" || exit 1
549 $TAR -zxf "$SRCTAR" || exit 1
551 cd "$SRCTREE" || exit 1
552 third_parties
554 fix_version ${topdir}/VERSION.pcp VERSION.pcp
557 prepare_debian_control()
559 echo
560 echo "== Preparing source tree for dpkg-buildpackage"
561 rm -f $tmp/failed debian/control
562 if $verbose ; then
563 ($MAKE -C debian control 2>&1 || touch $tmp/failed) 2>&1 | tee -a $LOGDIR/pcp
564 else
565 ($MAKE -C debian control 2>&1 || touch $tmp/failed) >>$LOGDIR/pcp 2>&1
567 [ -f $tmp/failed ] && build_failure debian control
570 debian_build()
572 SRCDIR="${topdir}/build/deb"
573 SRCTREE="${topdir}/build/deb/$source"
574 prepare_debian_sources
576 # Note: we need to run configure here to get things like builddefs
577 # created, but configure will be run _again_ from
578 # debian_buildpackage, but we need to make sure the same
579 # configure options are used in both places
581 export configure_opts="$configopts"
582 if [ ! -f debian/rules ]
583 then
584 echo "Botch: cannot find debian/rules"
585 exit 1
587 debian_opts=`sed -n <debian/rules -e '/^configure_paths/s/^[^=]*= *//p'`
588 if [ -z "$debian_opts" ]
589 then
590 echo "Botch: cannot get config options from configure_paths in debian/rules"
591 exit 1
593 configopts="$debian_opts $configopts"
594 configure_pcp
595 prepare_debian_control
596 sanity_check_settings
597 debian_buildpackage
599 # success!
600 if ! $verbose ; then
601 grep ^dpkg-deb $LOGDIR/pcp | \
602 sed -e 's,\.$,,g' -e "s,',,g" -e "s,\.\.,$topdir/build/deb,g" | \
603 awk '{ print "Wrote:", $NF }'
605 exit 0
608 prepare_build()
610 echo
611 echo "== Preparing fresh build tree for packaging build"
613 if [ ! -d "$SRCDIR" ]; then
614 # extract gzipped tar archive
615 $TAR -xz --file="$SRCTAR" || exit 1
616 fix_version VERSION.pcp $SRCDIR/VERSION.pcp
620 configure_pcp()
622 echo
623 echo "== Configuring pcp, log is in $LOGDIR/pcp ($configopts)"
625 rm -f $tmp/failed
626 if $verbose
627 then
628 ($configure $configopts 2>&1 || touch $tmp/failed) 2>&1 | tee -a $LOGDIR/pcp
629 else
630 ($configure $configopts 2>&1 || touch $tmp/failed) >>$LOGDIR/pcp 2>&1
632 [ -f $tmp/failed ] && build_failure Configure
635 default_build()
637 echo
638 echo "== Building pcp, log is in $LOGDIR/pcp"
640 rm -f $tmp/failed
641 if $verbose ; then
642 ($MAKE default_pcp 2>&1 || touch $tmp/failed) 2>&1 | tee -a $LOGDIR/pcp
643 else
644 ($MAKE default_pcp 2>&1 || touch $tmp/failed) >>$LOGDIR/pcp 2>&1
646 [ -f $tmp/failed ] && build_failure Make default_pcp
649 packaging_pcp()
651 echo
652 echo "== Packaging pcp, log is in $LOGDIR/pcp" | tee -a $LOGDIR/pcp
654 rm -f $tmp/failed
655 if $verbose ; then
656 ($MAKE -C build pack_pcp 2>&1 || touch $tmp/failed) 2>&1 | tee -a $LOGDIR/pcp
657 else
658 ($MAKE -C build pack_pcp 2>&1 || touch $tmp/failed) >>$LOGDIR/pcp 2>&1
660 [ -f $tmp/failed ] && build_failure Packaging via pack_pcp
663 packaging_rpm()
665 echo
666 echo "== Building rpm packages, log is in $LOGDIR/pcp" | tee -a $LOGDIR/pcp
668 rm -f $tmp/failed
669 export DIST_ROOT=${topdir}/build/rpm/${source}
670 # sign if --signed and $RPM_SIGN_KEYID set in the environment
671 $signed && [ -z "$RPM_SIGN_KEYID" ] && unset RPM_SIGN_KEYID
672 if $verbose ; then
673 ($MAKE -C build/rpm pack_pcp 2>&1 || touch $tmp/failed) 2>&1 | tee -a $LOGDIR/pcp
674 else
675 ($MAKE -C build/rpm pack_pcp 2>&1 || touch $tmp/failed) >>$LOGDIR/pcp 2>&1
677 [ -f $tmp/failed ] && build_failure Packaging RPMs via pack_pcp
680 packaging_docker()
682 echo
683 echo "== Building docker container images, log is in $LOGDIR/pcp" | tee -a $LOGDIR/pcp
684 rm -f $tmp/failed
686 if docker version >/dev/null 2>&1; then
687 v=`docker version | sed -e 's/\./ /g' | \
688 awk '/^Server/ {s=1; if($2 == "version:") {print 10*$3+$4; exit}}
689 /Version:/ {if (s) {print 10*$2+$3; exit}}'`
690 if [ -z "$v" -o "$v" -lt 14 ]; then
691 echo 'Error: docker version too old. Containers build skipped.'
692 touch $tmp/failed
694 else
695 echo 'Error: docker not enabled or not properly configured for non-root access.'
696 echo 'Check the docker service is enabled and running. You can allow non-root access'
697 echo 'as follows: edit /etc/sysconfig/docker and add OPTIONS="-G gid" where gid is a'
698 echo 'group name that you are a member of. Then restart the docker service.'
699 touch $tmp/failed
702 [ -f $tmp/failed ] && build_failure Packaging docker images, docker configuration
704 if $verbose ; then
705 ($MAKE -C build/containers pack_pcp 2>&1 || touch $tmp/failed) 2>&1 | tee -a $LOGDIR/pcp
706 else
707 ($MAKE -C build/containers pack_pcp 2>&1 || touch $tmp/failed) >>$LOGDIR/pcp 2>&1
710 [ -f $tmp/failed ] && build_failure Packaging docker containers via pack_pcp
713 # real build starts here
714 clean_packaging
715 src_tar_build
716 $srconly && exit 0
718 # short-circuit for performing builds with dpkg-buildpackage
719 $dodeb && debian_build
721 prepare_build
723 # download any requested third party sources we're packaging
724 third_parties
726 # shift into the clean packaging build tree from here onward
727 cd "$SRCDIR"
729 configure_pcp
731 # short-circuit for performing rpm-only builds with rpmbuild
732 # (skips over the default_build stage as rpmbuild does that).
733 if $dorpm
734 then
735 packaging_rpm
736 else
737 default_build # perform a complete build in-situ
738 packaging_pcp # create all known package formats
742 # --with-docker, currently only for RPM platforms with docker
743 if $docker
744 then
745 packaging_docker
748 # success!
749 if ! $verbose ; then
750 grep '^Wrote:' $LOGDIR/pcp | sed -e 's/\.\.\/\.\.\///'
752 exit 0