repo-add: fix path designation regression
commitd8d287b4d215eceb382385b84495666f5a03399e
authorDave Reisner <d@falconindy.com>
Wed, 22 Jun 2011 13:30:35 +0000 (22 09:30 -0400)
committerDan McGee <dan@archlinux.org>
Fri, 24 Jun 2011 04:27:07 +0000 (23 23:27 -0500)
treed9965a2ff1d688ebf7bab9e9971f1b751f117cbc
parenteedd56f320c175c430ead9226dc871a9ce04ba3f
repo-add: fix path designation regression

b899099 made path checking a bit more strict than I had intended, and
would actually forbid creation of a repo in $PWD if only the filename
was specified. readlink would be the fun and easy solution here, but
it's avoided due to portability issues, making the validation process a
bit more verbose.

Signed-off-by: Dan McGee <dan@archlinux.org>
scripts/repo-add.sh.in