Hi Ben,

Sorry hit enter too soon. Yes that's how I got rid of those
directories in the end. See also
https://github.com/NixOS/nixpkgs/issues/9707#issuecomment-146075784
for a simpler script.

For now the old prefix I created in Yosemite still works and I'm fine
sticking with it. But hopefully the official support for El Capitan
can come sometime soon.

On Thu, Oct 8, 2015 at 8:56 AM, yegle <[email protected]> wrote:
> Hi Ben,
>
>
> On Thu, Oct 8, 2015 at 4:18 AM, Ben Peddell <[email protected]> 
> wrote:
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> You could try moving the contained directories into a lower level directory 
>> - e.g.:
>>
>> <<EOF
>> #!/bin/bash
>>
>> for builddir in .gentoo/tmp/var/tmp/*/*; do
>>   if [ -d 
>> "$builddir/confdir-14B---/confdir-14B---/confdir-14B---/confdir-14B---/confdir-14B---"
>>  ]; then
>>     dn=0
>>     mv 
>> "$builddir/confdir-14B---/confdir-14B---/confdir-14B---/confdir-14B---/confdir-14B---"
>>  ".gentoo/tmp/${builddir}-level${dn}"
>>     while [ -d 
>> "${builddir}-level${dn}/confdir-14B---/confdir-14B---/confdir-14B---/confdir-14B---/confdir-14B---"
>>  ]; do
>>       mv 
>> "${builddir}-level${dn}/confdir-14B---/confdir-14B---/confdir-14B---/confdir-14B---/confdir-14B---"
>>  "${builddir}-level$(( dn+1 ))"
>>       (( dn++ ))
>>     done
>>   fi
>> done
>>
>> rm -rf .gentoo/tmp
>> EOF
>>
>>
>> On 05/10/15 04:37, yegle wrote:
>>> Hello list,
>>>
>>> Trying to bootstrap in OS X El Capitan. It failed because there's no
>>> profile for x86_64-apple-darwin15, which is kind of expected.
>>>
>>> Now I'd like to remove the directory created during the failed
>>> bootstrap, only find there's some nasty directory structure that
>>> essentially makes it un-deletable.
>>>
>>> Here's the log when I try to delete the directory:
>>> https://gist.github.com/yegle/5e1260578627bb7d1c41
>>>
>>> Any suggestions?
>>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v2
>>
>> iQEcBAEBAgAGBQJWFlECAAoJEL1LaPYiwn0bmD4H+QFpxOaGfDzAHa4085xYeppH
>> DgRuJoBrWAu8xdOaBRwBad6USAJPe56DgE642GBUk8/H490wDt6GGCSz89ltAUgt
>> l05WbXaKC5aapijC3GdRK97jQ5Uphd6/r2mW3eHiD1gfUIIeSntH1BIHRdArHSL/
>> jTOBfICYtgYeP5UXPd7lzKc3ziZtPV3bDAcLEqGqYLbvRjqCxU+lIEPrMhsgvtty
>> 5FW5RpCTwGE6Pm4V6mNUb7mpQm0xXN9FWz77NnDG3DCUyvFvhZQTmsO7OYx6QP39
>> PEtusvgNnLJ0SI3WjcENhL0s3XJbayqhj1xKrwS5f1xhYuAY0WZ+5ZBLPZN6OnE=
>> =MHNc
>> -----END PGP SIGNATURE-----
>>
>>
>
>
>
> --
> yegle
> http://about.me/yegle



-- 
yegle
http://about.me/yegle

Reply via email to