Yet another gnc-pricedb fix
Rob Browning
rlb@cs.utexas.edu
17 Mar 2001 14:57:06 -0600
Derek Atkins <warlord@MIT.EDU> writes:
> This one is due to the fact that gnc-prices went away. The Makefile
> needs to reflect that:
gnc-prices should not have gone away. Maybe something was wrong with
my patch. gnc-prices.in *did* go away.
Dave, unless we just want to drop gnc-prices altogether right now,
could you add this script back as src/quotes/gnc-prices and put it
back in the Makefile.am?
I had figured we wouldn't want to just break people's cron jobs just
yet, presuming there are any.
#!/bin/sh
#
# Usage: gnc-prices <datafile>
# Vestigal script for adding current prices to a gnucash data file for
# all the accounts having a price source.
if [ "$#" -ne 1 ]
then
echo "Usage: gnc-prices <file>"
exit 1
fi
echo -n "gnc-prices is obsolete: "
if [ "$1"x = x ]
then
echo "please use gnucash --add-price-quotes <file>"
else
echo "please use gnucash --add-price-quotes $1"
fi
exec gnucash --add-price-quotes "$1"
--
Rob Browning <rlb@cs.utexas.edu> PGP=E80E0D04F521A094 532B97F5D64E3930