diff options
Diffstat (limited to 'new')
-rwxr-xr-x | new | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,6 +1,10 @@ #!/bin/bash -D=$1 +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 |