Skip to content
  • Ian Lynagh's avatar
    Improve the way we call "rm" in the build system; fixes trac #4916 · 80e9070c
    Ian Lynagh authored
    We avoid calling "rm -rf" with no file arguments; this fixes cleaning
    on Solaris, where that fails.
    
    We also check for suspicious arguments: anything containing "..",
    starting "/", or containing a "*" (you need to call $(wildcard ...)
    yourself now if you really want globbing). This should make things
    a little safer.
    80e9070c