From 79d226c48d6de4f26c604ddbd0ce769a58d548c6 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 31 Jul 2002 23:10:55 +0000 Subject: Handle parsing --embedded command line in standalone.pm => allows to remove the somewhat mythical $::isEmbedded = ($::XID, $::CCPID) = "@ARGV" =~ /--embedded (\w+) (\w+)/ --- perl-install/standalone/scannerdrake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'perl-install/standalone/scannerdrake') diff --git a/perl-install/standalone/scannerdrake b/perl-install/standalone/scannerdrake index b3b4dd402..5714cabe9 100755 --- a/perl-install/standalone/scannerdrake +++ b/perl-install/standalone/scannerdrake @@ -26,7 +26,6 @@ use interactive; use common; use scanner; -$::isEmbedded = ($::XID, $::CCPID) = "@ARGV" =~ /--embedded (\w+) (\w+)/; for (@ARGV) { /^--version$/ and die 'version: $Id$ '."\n"; /^--help$/ and die 'logdrake [--version] [--help] [--manual] [--device=dev] [--update-sane=sane_desc_dir] [--update-usbtable] [--dynamic=dev]'; @@ -114,6 +113,11 @@ sub quit { #----------------------------------------------- # $Log$ +# Revision 1.12 2002/07/31 23:10:55 prigaux +# Handle parsing --embedded command line in standalone.pm +# => allows to remove the somewhat mythical +# $::isEmbedded = ($::XID, $::CCPID) = "@ARGV" =~ /--embedded (\w+) (\w+)/ +# # Revision 1.11 2002/03/11 06:43:36 yduret # re-re-re-re-re-re-uncomment the pkgs check line. # -- cgit v1.2.1