read package name from linkinfo
authorMichal Vyskocil <mvyskocil@suse.cz>
Tue, 23 Nov 2010 13:59:04 +0000 (14:59 +0100)
committerMichal Vyskocil <mvyskocil@suse.cz>
Tue, 23 Nov 2010 13:59:04 +0000 (14:59 +0100)
commit4553fdac36622b21eb8cbbf74f3a15c7d8fec320
tree827daf4c37e2844e58aac89b3c4bce7f454e843e
parent333666c61f65a1274bc99d32b7ffed20da7b3ba6
read package name from linkinfo

osc command mbranch creates packages in format $NAME.$DISTRIBUTION and
simple cat of .osc/_package don't find anything. Function lopk parse the
linkinfo element in .osc/_files and return back the link name, which
solves the usability of __get_special_file__ with mbranched packages.
osc_helpers.sh