chiark
/
gitweb
/
~ianmdlvl
/
nailing-cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e24507
)
nailing-cargo: skip dependencies with path already specified
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 13 Mar 2020 16:41:59 +0000
(16:41 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 13 Mar 2020 16:41:59 +0000
(16:41 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
nailing-cargo
patch
|
blob
|
history
diff --git
a/nailing-cargo
b/nailing-cargo
index 1cc613866718ad050b88b14c8ed3bd31fa26d54b..0d274dd1bc87fb5186a6fda004b7e330fc220274 100755
(executable)
--- a/
nailing-cargo
+++ b/
nailing-cargo
@@
-55,6
+55,7
@@
while read <&204 what where; do
if [ "x$what" = 'x#' ]; then continue; fi
qwhere="${where//\//\\/}"
sed+='
+ /{.*path *=/ b
s/^'$what' *= *\(\".*\"\) *$/'$what' = { version = \1 }/;
s#^'$what' *= *{#'$what' = { path = "'"${PWD%/*}"'/'"${qwhere}"'", #;
/^'$what' *=/ s/version *= *\"[^"]*\"//;