On Thu, Mar 24, 2011 at 5:05 PM, Ray Kohler wrote:
> Move checksum and pgpsig calcluation before changing into the
> tmpdir, otherwise we can't find the files if a relative path
> was used.
Thanks! I made a few small touchups to the local var declaration to
ensure sha256sum and pgpsig made it int
Move checksum and pgpsig calcluation before changing into the
tmpdir, otherwise we can't find the files if a relative path
was used.
Signed-off-by: Ray Kohler
---
scripts/repo-add.sh.in | 26 ++
1 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/scripts/re
On Thu, Mar 24, 2011 at 4:46 PM, Ray Kohler wrote:
> I first noticed that checksums weren't calculated if a relative path was used,
> since they're done after moving into the $tmpdir and relative paths become
> useless. Then I saw that PGP sigs had basically the same problem, with the
> addition o
I first noticed that checksums weren't calculated if a relative path was used,
since they're done after moving into the $tmpdir and relative paths become
useless. Then I saw that PGP sigs had basically the same problem, with the
addition of the introduction of $startdir, which was never set beforeh