karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Rathgeb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-4278) clean not working
Date Sun, 17 Jan 2016 10:58:39 GMT
Markus Rathgeb created KARAF-4278:
-------------------------------------

             Summary: 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


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:
{code:shell}
rm -Rf "$KARAF_DATA"/{.[^.],.??*,*}
{code:shell}



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

Mime
View raw message