motif: fix disabling demos

The previous sed expression didn't work, even in the commit that added
it.

Fixes: 68c003b256 ("motif: fixup build after automake update #28232")
This commit is contained in:
Alyssa Ross
2024-05-28 12:49:16 +02:00
parent 6aafa50a27
commit 1a5ef41b84
+1 -1
View File
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ libXp libXau ];
prePatch = lib.optionalString (!demoSupport) ''
sed '/^SUBDIRS =,^$/s/\<demos\>//' -i Makefile.{am,in}
sed 's/\<demos\>//' -i Makefile.{am,in}
'';
patches = [