Fix spec by specifying the directory name without version
This commit is contained in:
parent
cb9ca0ca6e
commit
54c5653786
1 changed files with 4 additions and 4 deletions
|
|
@ -59,13 +59,13 @@ directory = "$PWD/vendor"
|
|||
offline = true
|
||||
EOF
|
||||
#==
|
||||
cp -a vendor/time-0.3.25 vendor/time-0.3.25-patched
|
||||
cp -a vendor/time vendor/time-patched
|
||||
perl -0777 -pi -e 's/let items = format_items\s*\n\s*\.map\(\|res\|\s*res\.map\(Into::into\)\)\s*\n\s*\.collect::<Result<Box<_>, _>>\(\)\?\s*;/let items = format_items.collect::<Result<Box<_>, _>>()?;/s' \
|
||||
vendor/time-0.3.25-patched/src/format_description/parse/mod.rs
|
||||
vendor/time-patched/src/format_description/parse/mod.rs
|
||||
###
|
||||
grep zeroidc/Cargo.toml 'time-0.3.25-patched' || cat >> zeroidc/Cargo.toml <<EOF
|
||||
grep zeroidc/Cargo.toml 'time-patched' || cat >> zeroidc/Cargo.toml <<EOF
|
||||
[patch.crates-io]
|
||||
time = { path = "../vendor/time-0.3.25-patched" }
|
||||
time = { path = "../vendor/time-patched" }
|
||||
EOF
|
||||
#==
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue