Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Ian Lynagh's avatar
    80e9070c
    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
    History
    Improve the way we call "rm" in the build system; fixes trac #4916
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.