#!/bin/bash
cd ~/.cpan/build/GAAS-fwrgdL/
/usr/bin/tar -xvvf MIME-Base64-Perl-1.00.tar
with the following result:
/home/washburn/scripts/TestTar.sh: line 5: /usr/bin/tar: No such file
+or directory
I then followed the above advice and changed the MyConfig.Pm line:
'tar' => q[/usr/bin/tar],
to
'tar' => q[/bin/tar],
and ran (via cron)
cpan MIME::QuotedPrint::Perl
which worked and produced the following email:
I should have run this
ls -lg /usr/bin/tar
ls: /usr/bin/tar: No such file or directory
before bothering the perl monks. |