Hi,

I am not sure whether this is a make or shell problem.

SHELL=/bin/bash
all:
        $$'shopt -s extglob; ls !(foo)'

make
$'shopt -s extglob\nls !(foo)\n'
/bin/sh: shopt -s extglob
ls !(foo)
: command not found
make: *** [all] Error 127


But when I type it in the shell, it just works:
bash -c $'shopt -s extglob\n ls !(foo)\n'

Thanks,
Martin
_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to