Commit 2cb6593c authored by Martin Mareš's avatar Martin Mareš
Browse files

Access: Do not die for no good reason

parent e697468d
...@@ -42,7 +42,7 @@ if (@ARGV && $ARGV[0] eq "--graph") { ...@@ -42,7 +42,7 @@ if (@ARGV && $ARGV[0] eq "--graph") {
my $dir = $ARGV[0] // 'out'; my $dir = $ARGV[0] // 'out';
-d $dir or mkdir $dir or die "Cannot create $dir"; -d $dir or mkdir $dir or die "Cannot create $dir";
chdir $dir or die; chdir $dir or die;
for my $f ("access.c", "Makefile", "parse_op") { for my $f ("access.c", "Makefile") {
-f $f or symlink "../$f", $f or die; -f $f or symlink "../$f", $f or die;
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment