Changeset 161
- Timestamp:
- Jan 18, 2018, 8:20:33 AM (7 years ago)
- Location:
- trunk/project-meta
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/project-meta/project-meta
r158 r161 29 29 'make-licence' => \&cmd_make_licence, 30 30 'make-copyright' => \&cmd_make_copyright, 31 'list-licence' => \&cmd_list_licence, 31 32 ); 32 33 … … 245 246 246 247 ################################################################ 248 249 sub cmd_list_licence { 250 opendir my $dh, '/usr/share/project-meta/licence.d/' or die $!; 251 for my $licence (readdir $dh) { 252 # next if not -t $licence; 253 print "$licence\n"; 254 } 255 closedir $dh; 256 }
Note: See TracChangeset
for help on using the changeset viewer.