From 5d27d5dd454e56c1d307fad74db37bbca479df38 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 17 Sep 2015 10:30:59 +0200 Subject: [PATCH] ensure no unexpanded vars sneaked in --- libreoffice.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libreoffice.spec b/libreoffice.spec index 4a30585..7707765 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1399,6 +1399,8 @@ pushd %{buildroot}%{sdkinstdir} -e "s,@OO_SDK_OUTPUT_DIR@,\$HOME," \ -e "s,@SDK_AUTO_DEPLOYMENT@,NO," \ setsdkenv_unix.sh.in > setsdkenv_unix.sh + # ensure no unexpanded vars sneaked in + grep '@[A_Z0-9_]\+@' setsdkenv_unix.sh && exit 1 chmod 755 setsdkenv_unix.sh # we don't want to install the input file rm -f setsdkenv_unix.sh.in