Changeset 4086 in genesis
- Timestamp:
- Mar 16, 2005, 11:36:47 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/g_list.pl
r4083 r4086 22 22 23 23 #path variablen 24 my $home="/home/ rick/svn/genesis";24 my $home="/home/wleiden/genesis"; 25 25 my $ndir="$home/nodes"; 26 26 my $toolfile="$home/tools/wleiden.pl"; … … 30 30 31 31 ######################## END OF CONFIG ########################## 32 my $ html=1;32 my $HTML=1; 33 33 34 34 #laden van tool file … … 122 122 sub g_list { 123 123 if ($HTML) { 124 $svn_version=svn_version("$ndir");124 my $svn_version=svn_version("$ndir"); 125 125 if ($svn_version=~/Last Changed Rev: (\d+)/) { 126 126 $revision=$1; … … 142 142 next; 143 143 }; 144 $hostname=$dir;144 my $node = $dir; 145 145 if (! $HTML) { 146 print "$ hostname\n";146 print "$node\n"; 147 147 } 148 148 else { 149 printline("<TR><TD><A HREF=g_list.pl/$ hostname/config>$hostname</A></TD>");149 printline("<TR><TD><A HREF=g_list.pl/$node/config>$node</A></TD>"); 150 150 foreach $file (sort @filelist) { 151 printline("<TD><A HREF=g_list.pl/$ hostname/$file>$file</A></TD>\n");151 printline("<TD><A HREF=g_list.pl/$node/$file>$file</A></TD>\n"); 152 152 }; 153 };154 };155 printline("</TABLE><P>");153 printline("</TABLE><P>"); 154 }; 155 }; 156 156 }; 157 157
Note:
See TracChangeset
for help on using the changeset viewer.