Skip to content

Commit

Permalink
updated java_show_classpath.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Jul 23, 2024
1 parent ff73bd1 commit 5c6e8d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java_show_classpath.pl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ ($)
print "\ncommand: $cmd\n\n";
my $count = 0;
if($args =~ /\s-(?:cp|classpath)(?:\s+|=)([^\s+]+)(?:\s|$)/i){
foreach(split(/\:/, $1)){
foreach(split(/:/, $1)){
next if /^\s*$/;
print "classpath: $_\n";
$count++;
Expand Down Expand Up @@ -119,7 +119,7 @@ ($)
/^java.class.path\s*=\s*/ or next;
s/^java.class.path\s*=\s*//;
my $count = 0;
foreach(split(/:/, $_)){
foreach(split(/\\:/, $_)){
next if /^\s*$/;
print "classpath: $_\n";
$count++;
Expand Down

0 comments on commit 5c6e8d6

Please sign in to comment.