- Timestamp:
- Feb 12, 2006, 7:49:25 PM (19 years ago)
- Location:
- tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/FreeBSD5_x/g_list.pl
r4317 r5157 6 6 7 7 # Config located at other file 8 my $conf_file=" /home/genesis/tools/FreeBSD5_x/genesis.conf";8 my $conf_file="./genesis.conf"; 9 9 do($conf_file) || die("Cann't open $conf_file"); 10 10 … … 56 56 select(STDERR); $| = 1; # make unbuffered 57 57 select(STDOUT); $| = 1; # make unbuffered 58 system("$svn update $ home");58 system("$svn update $ndir"); 59 59 printline("</PRE>"); 60 60 printline("<H2>Done.<H2><P>"); … … 115 115 }; 116 116 117 opendir(DIR, $ndir) || die "can't opendir $ home: $!";117 opendir(DIR, $ndir) || die "can't opendir $ndir: $!"; 118 118 @dirs = grep { /^[^\.]/ && -d "$ndir/$_" } readdir(DIR); 119 119 closedir DIR; -
tools/FreeBSD6_x/g_list.pl
r4940 r5157 6 6 7 7 # Config located at other file 8 my $conf_file=" /home/genesis/tools/FreeBSD6_x/genesis.conf";8 my $conf_file="./genesis.conf"; 9 9 do($conf_file) || die("Cann't open $conf_file"); 10 10 … … 56 56 select(STDERR); $| = 1; # make unbuffered 57 57 select(STDOUT); $| = 1; # make unbuffered 58 system("$svn update $ home");58 system("$svn update $ndir"); 59 59 printline("</PRE>"); 60 60 printline("<H2>Done.<H2><P>"); … … 115 115 }; 116 116 117 opendir(DIR, $ndir) || die "can't opendir $ home: $!";117 opendir(DIR, $ndir) || die "can't opendir $ndir: $!"; 118 118 @dirs = grep { /^[^\.]/ && -d "$ndir/$_" } readdir(DIR); 119 119 closedir DIR;
Note:
See TracChangeset
for help on using the changeset viewer.