Skip to content

Commit

Permalink
syncqt: nuke -relative option
Browse files Browse the repository at this point in the history
it's been dead code for ages.

Change-Id: I0e2f976a5b02119d296bdaa20eb2ddb40a8fd0ba
Reviewed-by: Lars Knoll <[email protected]>
  • Loading branch information
ossilator committed Apr 11, 2018
1 parent e3cea2a commit 939fe87
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions bin/syncqt.pl
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,12 @@ sub normalizePath {
my $verbose_level = 1;
my $remove_stale = 1;
my $force_win = 0;
my $force_relative = 0;
my $check_includes = 0;
my $copy_headers = 0;
my $create_private_headers = 1;
my $minimal = 0;
my $module_version = 0;
my @modules_to_sync ;
$force_relative = 1 if ( -d "/System/Library/Frameworks" );


# functions ----------------------------------------------------------
Expand All @@ -124,7 +122,6 @@ sub showUsage

print " -copy Copy headers instead of include-fwd(default: " . ($copy_headers ? "yes" : "no") . ")\n";
print " -remove-stale Removes stale headers (default: " . ($remove_stale ? "yes" : "no") . ")\n";
print " -relative Force relative symlinks (default: " . ($force_relative ? "yes" : "no") . ")\n";
print " -windows Force platform to Windows (default: " . ($force_win ? "yes" : "no") . ")\n";
print " -showonly Show action but not perform (default: " . ($showonly ? "yes" : "no") . ")\n";
print " -minimal Do not create CamelCase headers (default: " . ($minimal ? "yes" : "no") . ")\n";
Expand Down Expand Up @@ -841,12 +838,6 @@ ($$)
} elsif($force_win) {
$force_win--;
}
} elsif ($var eq "relative") {
if($val eq "yes") {
$force_relative++;
} elsif($force_relative) {
$force_relative--;
}
} elsif ($var eq "minimal") {
if($val eq "yes") {
$minimal++;
Expand Down

0 comments on commit 939fe87

Please sign in to comment.