Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 53809

Summary: webapp-config-1.10 fails to hard link files, it always copies them
Product: Gentoo Linux Reporter: Sven Wegener <swegener>
Component: Current packagesAssignee: Stuart Herbert (RETIRED) <stuart>
Status: VERIFIED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: webapp-config.patch

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.