simple/mailsummary/configure

31 lines
612 B
Plaintext
Raw Permalink Normal View History

1998-05-15 14:55:05 +02:00
#!/bin/sh
#
echo "#!/bin/sh" > customize
echo "sed \\" > customize
chmod +x customize
################################################################
# find a working perl:
#
for i in /usr/bin/perl /usr/local/bin/perl /usr/bin/perl5 /usr/local/bin/perl5
do
if $i -e 'exit ($] < 5.000)'
then
echo $i works
perl="$i"
break
fi
done
if [ -z "$perl" ]
then
could not find a working perl command, sorry.
exit 1
fi
echo " -e 's,@@@perl@@@,$perl,g' \\" >> customize
2000-02-08 18:05:25 +01:00
################################################################
# finish:
# add a blank line to customize
echo >> customize