Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53809 - webapp-config-1.10 fails to hard link files, it always copies them
Summary: webapp-config-1.10 fails to hard link files, it always copies them
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Stuart Herbert (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-13 07:36 UTC by Sven Wegener
Modified: 2004-06-15 08:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
webapp-config.patch (webapp-config.patch,457 bytes, patch)
2004-06-13 07:36 UTC, Sven Wegener
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Wegener gentoo-dev 2004-06-13 07:36:17 UTC
Stu, this is the bug report for the problem I reported in bug 27161, comment 8
with a patch attached.

The trigger for this one is, that webapp-config runs:

ln "${G_LINK_OPTIONS}" "$MY_APPDIR/$1/$2" "$3/$my_file" 2> /dev/null

${G_LINK_OPTIONS} will be empty if we're hard-linking, but due to the quotes
it will appear to ln as an empty argument. Removing the quotes solves the
problem.

See attached patch.

Sven
Comment 1 Sven Wegener gentoo-dev 2004-06-13 07:36:52 UTC
Created attachment 33174 [details, diff]
webapp-config.patch
Comment 2 Stuart Herbert (RETIRED) gentoo-dev 2004-06-13 10:18:33 UTC
Doh.  Can't believe that I didn't spot that one ;-)

This'll be fixed in -r1.

Best regards,
Stu
Comment 3 Stuart Herbert (RETIRED) gentoo-dev 2004-06-14 16:45:41 UTC
webapp-config-1.10-r1 is now out, and contains a fix for this problem.

Best regards,
Stu
Comment 4 Sven Wegener gentoo-dev 2004-06-15 08:05:57 UTC
Works in -r1 as expected.