commit d010e0bbab16540c063001884aae2aec550baf88
parent 89e854eb32943b7b062c2c28910e7deab070e135
Author: Samir Parikh <noreply@samirparikh.com>
Date: Wed, 21 Dec 2022 17:43:57 +0000
add line to make newly created boilerplate file executable
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/aocinit b/aocinit
@@ -22,7 +22,7 @@ my $DOMAIN = 'adventofcode.com';
# User-defined constants:
##############################################################################
my $PATH_FROM_HOME = "programs";
-my $DIR_PREFIX = "aoc_20";
+my $DIR_PREFIX = "aoc20";
# store your browser cookie session ID in the environment variable
# `$SESSIONID`:
# $ export SESSIONID="8374....907d"
@@ -93,6 +93,7 @@ sub create_boilerplate_file {
open my $bp_file, '>', $day_file;
say $bp_file $boilerplate;
close $bp_file;
+ chmod 0755, $day_file;
}
sub download_input {