diff options
Diffstat (limited to 'bin/init_rust.sh')
-rwxr-xr-x | bin/init_rust.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/init_rust.sh b/bin/init_rust.sh index 38825b1..5388a69 100755 --- a/bin/init_rust.sh +++ b/bin/init_rust.sh @@ -6,7 +6,7 @@ DAY=${DAY:-$(TZ=EST date '+%d')} GIT_USER=$(git config --get 'user.name') GIT_EMAIL=$(git config --get 'user.email') -CARGO=$( sed "s/^#\( *${DAY}\)/\1/" <"${YEAR}/rust/Cargo.toml") +CARGO=$( sed "s/^#\(.*${DAY}\)/\1/" <"${YEAR}/rust/Cargo.toml") echo "${CARGO}" >"${YEAR}/rust/Cargo.toml" cd "${YEAR}/rust" |