#! /bin/sh
# $Header: /global/src/etc/cron/RCS/cl-anacron-make-ownfiles,v 1.3 2022/09/10 06:39:14 pb22 Exp $
# generate an ownfiles tarball. "MAILTO" in /etc/anacrontab should ne right

# if cl-make-ownfiles uses sh (a symb link to dash) on fox[12] (Ubuntu 7.10)
# the exec gets a format error, the it tries "sh cl-make-ownfiles", which looks
# in the CWD, not using PATH. Help this work ...
cd /usr/bin; PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH cl-make-ownfiles 2>&1 | fold -s -b -w 998
