Add a bit of extra verbosity

svn path=/trunk/; revision=567
This commit is contained in:
Andrew Gaffney 2008-09-04 02:11:48 +00:00
parent 3061d4f53c
commit cd5870e210
2 changed files with 9 additions and 2 deletions

View file

@ -2,6 +2,9 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id$
04 Sep 2008; Andrew Gaffney <agaffney@gentoo.org> catalyst-auto:
Add a bit of extra verbosity
04 Sep 2008; Andrew Gaffney <agaffney@gentoo.org> catalyst-auto,
catalyst-auto.conf:
Remove tmpdir when finished

View file

@ -88,6 +88,12 @@ source ${config_file}
#fi
TMPDIR=/tmp/catalyst-auto.${PID}
DATESTAMP=$(date +%Y%m%d)
if [ ${verbose} = 1 ]; then
echo "TMPDIR = ${TMPDIR}"
echo "DATESTAMP = ${DATESTAMP}"
fi
# Check if tmp directory exists and remove it
if [ -d "${TMPDIR}" ]; then
@ -115,8 +121,6 @@ done
cd ${TMPDIR}/specs
DATESTAMP=$(date +%Y%m%d)
# Fix up specs with datestamp
for i in $(find -name '*.spec'); do
# Grab current version_stamp and source_subpath