#984934 equivs: equiv-controls bash script is missing quotes around a path variable

#984934#5
Date:
2021-03-10 15:22:22 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?
I want to package a single file into a .deb package and looked into the
equivs-control file (which is basically just `cp`), and found that it
does not quote the $1 argument (should be `cp ... "$1"`).
Consequently, running

  mkdir "/tmp/a b" && equivs-control "$_"

fails ("cp: target 'b' is not a directory"). Maybe equivs-control is not
supposed to work on paths with spaces, but that should probably then be
added as a comment.