[Koha-devel] koha code cleaning bug?

Rick Welykochy rick at praxis.com.au
Mon Sep 29 12:34:53 CEST 2008


Marc Chantreux wrote:

>     unless (-d "$authorityserverdir") {
>         system("mkdir -p $authorityserverdir");
>         print "Info: created $authorityserverdir\n";
>         $created_dir_or_file++;
>     }
>     unless (-d "$authorityserverdir/lock") {
>         mkdir "$authorityserverdir/lock";
>         print "Info: created $authorityserverdir/lock\n";
>         $created_dir_or_file++;
>     }
>     unless (-d "$authorityserverdir/register") {
>         mkdir "$authorityserverdir/register";
>         print "Info: created $authorityserverdir/register\n";
>         $created_dir_or_file++;
>     }
>     unless (-d "$authorityserverdir/shadow") {
>         mkdir "$authorityserverdir/shadow";
>         print "Info: created $authorityserverdir/shadow\n";
>         $created_dir_or_file++;
>     }
>     unless (-d "$authorityserverdir/tab") {
>         mkdir "$authorityserverdir/tab";
>         print "Info: created $authorityserverdir/tab\n";
>         $created_dir_or_file++;
>     }
>     unless (-d "$authorityserverdir/key") {
>         mkdir "$authorityserverdir/key";
>         print "Info: created $authorityserverdir/key\n";
>         $created_dir_or_file++;
> ... 

VB damage?

cheers
rickw



-- 
________________________________________________________________
Rick Welykochy || Praxis Services || Internet Driving Instructor

"It is practically impossible to teach good programming style to students
  that have had prior exposure to BASIC: as potential programmers they are
  mentally mutilated beyond hope of regeneration."
       - Dijkstra




More information about the Koha-devel mailing list