Skip to content

Commit

Permalink
BF: also replace run with exec
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic committed Dec 8, 2023
1 parent 18b5196 commit 0d94540
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/reproin
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ function setup_devel_reproin() {
exit 1
fi
datalad clone -d . https://github.com/ReproNim/reproin code/reproin
cfg=datalad."containers.repronim-reproin".cmdexec ; git config -f .datalad/config "${cfg}" | sed -e 's,{img} {cmd}.*,-B {img_dspath}/code/reproin/bin/reproin:/usr/local/bin/reproin {img} /usr/local/bin/reproin {cmd},g' | tr -d '\n' | xargs -0 git config -f .datalad/config ${cfg}
cfg=datalad."containers.repronim-reproin".cmdexec
git config -f .datalad/config "${cfg}" | sed -e 's,{img} {cmd}.*,-B {img_dspath}/code/reproin/bin/reproin:/usr/local/bin/reproin {img} /usr/local/bin/reproin {cmd},g' -e 's, run , exec ,g' | tr -d '\n' | xargs -0 git config -f .datalad/config ${cfg}
datalad save -m "Bundle/use development version of reproin script for now inside the container" .gitmodules .datalad/config
}

Expand Down

0 comments on commit 0d94540

Please sign in to comment.