Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Misplaced comment
  • Loading branch information
AlexDaniel committed Aug 23, 2016
1 parent b41bb93 commit 65c5f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.p6
Expand Up @@ -20,10 +20,10 @@ constant BUILD-LOCK = ‘/tmp/whateverable/build-lock’;

constant LEGACY-BUILDS-LOCATION = {WORKING-DIRECTORY}/builds.IO.absolute;

# TODO IO::Handle.lock ? run ‘flock’? P5 modules?
mkdir BUILDS-LOCATION;
mkdir ARCHIVES-LOCATION;

# TODO IO::Handle.lock ? run ‘flock’? P5 modules?
exit 0 unless run mkdir, --, BUILD-LOCK; # only one instance running
my $locked = True;
END BUILD-LOCK.IO.rmdir if $locked;
Expand Down

0 comments on commit 65c5f4a

Please sign in to comment.