Re: [leaf-devel] Fwd: [leaf:bering-uclibc] [2bdcfd] - Jorge Contreras: Backup symlinks, empty dirs and other improvements

2014-11-03 Thread Erich Titl
HI Jorge Am 03.11.2014 um 21:50 schrieb cpu memhd: > Hey Erich, > > Your expand path properly handles the './', and also, another thing I > discovered is that with my modified expandpath, it will not always get rid of > redundant slashes: > > my modified expandpath(): > > //foo/bar = /foo/bar

Re: [leaf-devel] Fwd: [leaf:bering-uclibc] [2bdcfd] - Jorge Contreras: Backup symlinks, empty dirs and other improvements

2014-11-03 Thread Erich Titl
Hi Jorge Am 03.11.2014 um 21:50 schrieb cpu memhd: > Hey Erich, > ... > > Your expandpath seems to do what it's supposed to, but the only exception is > that it doesn't retain the slash when $1 is just a slash: > > `expandpath2 /` = "" > > > Nothing. But you're also saying that my expandpath

Re: [leaf-devel] [leaf:bering-uclibc] [2bdcfd] - Jorge Contreras: Backup symlinks, empty dirs and other improvements

2014-11-03 Thread Erich Titl
Am 03.11.2014 um 21:11 schrieb cpu memhd: > Errr. It looks like my install is too polluted with customizations. I'm not > understanding why uppercase SHIFT works on my system, but not on yours, since > it should be the same busybox. But maybe I customized something in busybox > that affected tha

Re: [leaf-devel] Fwd: [leaf:bering-uclibc] [2bdcfd] - Jorge Contreras: Backup symlinks, empty dirs and other improvements

2014-11-03 Thread cpu memhd
I am perplexed as to why I typed an uppercase shift (DOS nostalgia?). Anyhow, it still worked because '-u.local' and '$2.local' would not exist. - Original Message - From: Erich Titl To: leaf-devel Cc: Sent: Sunday, November 2, 2014 12:49 PM Subject: Re: [leaf-devel] Fwd: [leaf:bering-

Re: [leaf-devel] Fwd: [leaf:bering-uclibc] [2bdcfd] - Jorge Contreras: Backup symlinks, empty dirs and other improvements

2014-11-03 Thread cpu memhd
Hey Erich, Your expand path properly handles the './', and also, another thing I discovered is that with my modified expandpath, it will not always get rid of redundant slashes: my modified expandpath(): //foo/bar = /foo/bar but then: /foo = //foo !? Your expandpath seems to do what it's s

Re: [leaf-devel] [leaf:bering-uclibc] [2bdcfd] - Jorge Contreras: Backup symlinks, empty dirs and other improvements

2014-11-03 Thread cpu memhd
Errr. It looks like my install is too polluted with customizations. I'm not understanding why uppercase SHIFT works on my system, but not on yours, since it should be the same busybox. But maybe I customized something in busybox that affected that. Also, about the '/' being removed on $PKGROOT,

Re: [leaf-devel] [leaf:bering-uclibc] [2bdcfd] - Jorge Contreras: Backup symlinks, empty dirs and other improvements

2014-11-03 Thread kp kirchdoerfer
Hi Erich; Am Montag, 3. November 2014, 18:09:01 schrieb Erich Titl: > Hi KP > > Am 03.11.2014 um 16:30 schrieb kp kirchdoerfer: > > Hi Erich; > > > > I assume you wanted to post to leaf-devel list, but you've sent privately, > > you may repost if that was your intention :) > > Thanks :-) > > N

Re: [leaf-devel] [leaf:bering-uclibc] [2bdcfd] - Jorge Contreras: Backup symlinks, empty dirs and other improvements

2014-11-03 Thread Erich Titl
Hi KP Am 03.11.2014 um 16:30 schrieb kp kirchdoerfer: > Hi Erich; > > I assume you wanted to post to leaf-devel list, but you've sent privately, > you > may repost if that was your intention :) Thanks :-) Not really necessary, I branched off from maint locally and did a backport from master.