From fb4b0e3abb8191950b0d64a00e91a7cc0d8ce7fd Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 5 Apr 2012 18:09:08 +0200 Subject: [PATCH] fix shader-cpp on unconditional shaders --- scripts/shader-cpp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/shader-cpp.sh b/scripts/shader-cpp.sh index 4d0d4d85..95568f6f 100755 --- a/scripts/shader-cpp.sh +++ b/scripts/shader-cpp.sh @@ -174,7 +174,7 @@ conditionalize() } parse_shader_post() { - allconds=`echo "$shaderconds" | sort -u | grep .` + allconds=`echo "$shaderconds" | sort -u | grep . || true` conds= conditionalize "$allconds" } -- 2.39.2