aboutsummaryrefslogtreecommitdiff
path: root/new
blob: 8efe6c9122ef6b2c7d59ccea3c16fd97594485ba (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

if [ "x$1" == "x" ]; then
  D=$(date +%d)
else
  D=$1
fi

cp -r skel day$D
sed -i "s/DAY = /DAY = ${D}/" day${D}/Makefile