| To: | PCP Mailing List <pcp@xxxxxxxxxxx> |
|---|---|
| Subject: | rpm migrate_tempdirs() problem on SuSE |
| From: | Ken McDonell <kenj@xxxxxxxxxxxxxxxx> |
| Date: | Wed, 27 Mar 2013 17:07:24 +1100 |
| Delivered-to: | pcp@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 |
The rpm spec files both contain
mv -fun "$source" "$target"
on SuSE, mv(1) has no -n option (nor the equivalent --no-clobber) ...
need some recoding here in old-style portable Unix command speak I think
... I'll leave that to someone who understands what this was supposed to
be doing.
I'm guessing it needs to be
[ -d "$target" ] || mv -fu "$source" "$target"
if "$target" is always a directory in this context
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | pcp updates: python modules, pylint, Nathan Scott |
|---|---|
| Next by Date: | Heads-up - overlapped python merge needed soon(ish), Nathan Scott |
| Previous by Thread: | pcp updates: python modules, pylint, Nathan Scott |
| Next by Thread: | Re: [pcp] rpm migrate_tempdirs() problem on SuSE, Nathan Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |