summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2006-07-21 05:02:12 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2006-07-21 05:02:12 +0000
commit7bcdece66d33ca7829ce34add1a27f98cc190c40 (patch)
tree90cdcc675b058d67fc795d26f5287607c084d347 /contrib/crossrpms
parentAdd %{gcclib}/@tool_target@/%{gcc_version}/include/ssp (diff)
downloadrtems-7bcdece66d33ca7829ce34add1a27f98cc190c40.tar.bz2
Remove --sources (Unused)
Diffstat (limited to 'contrib/crossrpms')
-rwxr-xr-xcontrib/crossrpms/specstrip10
1 files changed, 0 insertions, 10 deletions
diff --git a/contrib/crossrpms/specstrip b/contrib/crossrpms/specstrip
index 013826a3e2..8777d2acd7 100755
--- a/contrib/crossrpms/specstrip
+++ b/contrib/crossrpms/specstrip
@@ -28,7 +28,6 @@ use Getopt::Long;
use strict;
-my $sources = 0;
my $newlib = 0;
my $infos = 0;
my $prefix = '/usr';
@@ -44,7 +43,6 @@ GetOptions(
'disable-infos' => sub { $options{infos} = 0 },
'newlib!',
'languages=s' => \@languages,
- 'sources!',
'verbose+' => \$verbose
) or die( "failed to GetOptions" );
@@ -61,13 +59,6 @@ if ( !defined($options{infos}) )
$infos = int($options{infos});
}
-if ( defined($options{sources}) )
-{
- $sources = $options{sources};
-} else {
- $sources = ( $prefix =~ m/\/opt\/rtems.*/ ) ? 0 : 1;
-}
-
if ( defined($options{newlib}) )
{
$newlib = $options{newlib};
@@ -76,7 +67,6 @@ if ( defined($options{newlib}) )
}
if ( $verbose ) {
- print STDERR "SOURCES: $sources\n";
print STDERR "INFOS : $infos\n";
print STDERR "PREFIX : $prefix\n";
}