[gobolinux-users] Rootless unmanaged files issue

Michael Homer michael at gobolinux.org
Wed Apr 1 17:50:09 NZDT 2009


On Thursday 26 March 2009 16:01:35 Daed Lee wrote:
> Here is a patch that fixes the issue.
>
> --- SandboxInstall.original	2009-03-25 22:50:16.000000000 -0400
> +++ SandboxInstall	2009-03-25 22:51:36.000000000 -0400
> @@ -136,7 +136,8 @@ for unmanaged in "${unmanagedarray[@]}"
>  do
>     # If it's not a directory (it's possible that it's a non-existant
> directory, but that's ok), strip one level
>     # Also remove any $goboPrefix, since we will add it later to
> ensure that it is used even for recipes that don't use it
> -   [ ! -d ${unmanaged} ] && unmanaged=$(echo ${unmanaged} | sed -e
> 's,\(.*\)/[^/]*,\1,'${goboPrefix:+ -e 's,'"$goboPrefix"',,'} )
> +   [ ! -d ${unmanaged} ] && unmanaged=$(echo ${unmanaged} | sed
> 's,\(.*\)/[^/]*,\1,')
> +   [ ! -z ${goboPrefix} ] && unmanaged=$(echo ${unmanaged} | sed
> 's,'"$goboPrefix"',,')
>     # Make sure the directories exist
>     Assert_Dir "${goboPrefix}${unmanaged}"
>     Assert_Dir
> "${installPackageDir}/${version}/Resources/Unmanaged${unmanaged}"
So, I've looked at this and I think it's ok, but can you confirm that the 
reason for the change is that the goboPrefix replacement was being skipped for 
directories? If so and I've understood it correctly I will apply.
-Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.gobolinux.org/pipermail/gobolinux-users/attachments/20090401/c10838f3/attachment.pgp 


More information about the gobolinux-users mailing list