]> arthur.barton.de Git - bup.git/commit
cmd/import-rsnapshot: eliminate use of readlink and stat commands.
authorAvery Pennarun <apenwarr@gmail.com>
Tue, 4 Jan 2011 08:21:32 +0000 (00:21 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Tue, 4 Jan 2011 08:50:05 +0000 (00:50 -0800)
commit0ee1a48734ab97227255f29b77362028103ff49d
treed2b2b2ed34107e7f677b17b0ed186739c6ef33cd
parentcc77fec7d45f71a31c51c19ae6c6bb695b15b7e1
cmd/import-rsnapshot: eliminate use of readlink and stat commands.

These aren't portable across operating systems.

While we're here, catch some error cases that were revealed by these
commands failing.

Also reduce indentation by using 'continue' in places where the entire loop
iteration depends on a single conditional.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
cmd/import-rsnapshot-cmd.sh
t/test.sh