Skip to content

Commit 641e1ee

Browse files
committed
Improve download.sh script
1 parent 95b3e61 commit 641e1ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

download.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ mkdir -p "$YEAR/$DAY"
88
cd "$YEAR/$DAY" || exit
99

1010
if [ ! -f main1.go ]; then cp ../../go.template main1.go; fi
11-
if [ ! -f main2.go ]; then cp ../../go.template main2.go; fi
11+
if [ ! -f main2.go ]; then echo "package main" > main2.go; fi
1212
if [ ! -f common.go ]; then echo "package main" > common.go; fi
1313

1414
if [ ! -f Makefile ]; then cat >Makefile <<EOF

0 commit comments

Comments
 (0)