提交 08d98b48 编写于 作者: A andrew

7000225: Sanity check on sane-alsa-headers is broken

Summary: Fix use of tab separators, ${alsa_version} expansion and conditional
Reviewed-by: ohair
上级 a664c380
...@@ -1389,20 +1389,21 @@ ifdef REQUIRED_ALSA_VERSION ...@@ -1389,20 +1389,21 @@ ifdef REQUIRED_ALSA_VERSION
endif endif
sane-alsa-headers: sane-alsa-headers:
ifdef REQUIRED_ALSA_VERSION ifdef REQUIRED_ALSA_VERSION
if [ "$(ALSA_CHECK)" != "same" -a "$(ALSA_CHECK)" != "newer" ] ; then \ @if [ "$(ALSA_CHECK)" != "missing" ] ; then \
$(ECHO) "ERROR: The ALSA version must be $(REQUIRED_ALSA_VERSION) or higher. \n" \ if [ "$(ALSA_CHECK)" != "same" -a "$(ALSA_CHECK)" != "newer" ] ; then \
" You have the following ALSA version installed: $${alsa_version) \n" \ $(ECHO) "ERROR: The ALSA version must be $(REQUIRED_ALSA_VERSION) or higher. \n" \
" Please reinstall ALSA (drivers and lib). You can download \n" \ " You have the following ALSA version installed: $${alsa_version} \n" \
" the source distribution from http://www.alsa-project.org \n" \ " Please reinstall ALSA (drivers and lib). You can download \n" \
" or go to http://www.freshrpms.net/docs/alsa/ for precompiled RPM packages. \n" \ " the source distribution from http://www.alsa-project.org \n" \
"" >> $(ERROR_FILE) ; \ " or go to http://www.freshrpms.net/docs/alsa/ for precompiled RPM packages. \n" \
fi \ "" >> $(ERROR_FILE) ; \
fi ; \
else \ else \
$(ECHO) "ERROR: You seem to not have installed ALSA $(REQUIRED_ALSA_VERSION) or higher. \n" \ $(ECHO) "ERROR: You seem to not have installed ALSA $(REQUIRED_ALSA_VERSION) or higher. \n" \
" Please install ALSA (drivers and lib). You can download the \n" \ " Please install ALSA (drivers and lib). You can download the \n" \
" source distribution from http://www.alsa-project.org or go to \n" \ " source distribution from http://www.alsa-project.org or go to \n" \
" http://www.freshrpms.net/docs/alsa/ for precompiled RPM packages. \n" \ " http://www.freshrpms.net/docs/alsa/ for precompiled RPM packages. \n" \
"" >> $(ERROR_FILE) ; \ "" >> $(ERROR_FILE) ; \
fi fi
endif endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册