diff options
Diffstat (limited to 'perl-install/commands')
-rwxr-xr-x | perl-install/commands | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/perl-install/commands b/perl-install/commands new file mode 100755 index 000000000..66574c7dc --- /dev/null +++ b/perl-install/commands @@ -0,0 +1,15 @@ +#!/usr/bin/perl + +use diagnostics; +use strict; + +use lib qw(/usr/bin/perl-install /home/pixel/perl-install . c c/blib/arch); +use common qw(:file); +use commands; + +my $progname = basename($0); + +# hack as some functions are defined by perl... so chmod -> chmod_ +&{$commands::{$progname} || $commands::{$progname . "_"} || \&err}(@ARGV), exit 0; + +sub err { die "$0: unknown program (unimplemented)\n"; } |