Skip to content

Commit

Permalink
patch ssrcoqdep
Browse files Browse the repository at this point in the history
  • Loading branch information
CohenCyril committed Jul 21, 2015
1 parent 40021d4 commit d410a44
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions etc/utils/ssrcoqdep
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ key="$1"

case $key in
*.v)
mkdir -p $(dirname bkpcoqdep/$key)
cp $key bkpcoqdep/$key
sed "s/^From.*//" -i $key
;;
Expand All @@ -23,5 +24,9 @@ done
COQBIN="$(dirname $(which coqtop))/"
$COQBIN/coqdep $args

mv bkpcoqdep/* .
rmdir bkpcoqdep
for f in $(find bkpcoqdep -name "*.v")
do
mv $f ${f##bkpcoqdep/}
done

rm -rf bkpcoqdep

0 comments on commit d410a44

Please sign in to comment.