karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-4278) clean not working
Date Tue, 08 Mar 2016 00:17:40 GMT

    [ https://issues.apache.org/jira/browse/KARAF-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15184078#comment-15184078
] 

Tim commented on KARAF-4278:
----------------------------

I can confirm the same issue on Karaf 4.0.4/Fedora

uname -a
Linux timpc 3.8.4-102.fc17.x86_64 #1 SMP Sun Mar 24 13:09:09 UTC 2013 x86_64 x86_64 x86_64
GNU/Linux

I have just replaced

                #rm -Rf "$KARAF_DATA/**"
with
                rm -rf "$KARAF_DATA/"*    


> clean not working
> -----------------
>
>                 Key: KARAF-4278
>                 URL: https://issues.apache.org/jira/browse/KARAF-4278
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 4.0.4
>            Reporter: Markus Rathgeb
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.1.0, 4.0.5
>
>
> The solution for KARAF-4241 seems to break the clean at least on linux system (I tested
on linux only).
> There is a report, that it is also broken on Win7: http://karaf.922171.n3.nabble.com/karaf-4-0-4-clean-not-working-tp4044848.html
> For the linux script:
> The wildcard (don't know why two instead of one is used) is also in the quoted argument,
so it is not evaluated by the shell.
> On linux systems "hidden" files (files starting with a dot) are handled separately and
not matched by the wildcard at all.
> For Linux systems I would use:
> {noformat}
> rm -Rf "$KARAF_DATA"/{.[^.],.??*,*}
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message