From: Tobias Ulmer Date: Fri, 24 Jul 2009 14:23:47 +0000 (+0200) Subject: bugfix: don't create symlink if unpack and source name are the same X-Git-Tag: e2factory-2.3.2rc1~63 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=f54706966f521b45db57b722473f61a2f450d6d1;p=e2factory.git bugfix: don't create symlink if unpack and source name are the same --- diff --git a/local/files.lua b/local/files.lua index 700e46e..0b825a8 100644 --- a/local/files.lua +++ b/local/files.lua @@ -430,7 +430,7 @@ function files.toresult(info, sourcename, sourceset, directory) if c then f:write(string.format("\t%s\n", c)) end - if file.unpack then + if file.unpack and file.unpack ~= sourcename then f:write(string.format( "\tln -s %s $(BUILD)/%s\n", file.unpack, sourcename)) end