changeset 1242:25194ee44e24

Makefile.am: (generate-docs.stamp) added '-' to tail of tail command as some implementations of tail parse the file information as the last argument
author Jiri Vanek <jvanek@redhat.com>
date Wed, 22 Jul 2015 13:17:39 +0200
parents cee19abe4dbd
children 19de1aaabc51
files ChangeLog Makefile.am
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Jul 20 15:54:20 2015 +0200
+++ b/ChangeLog	Wed Jul 22 13:17:39 2015 +0200
@@ -1,3 +1,8 @@
+2015-07-22  Fridrich Strba  <fridrich.strba@suse.com>
+
+	* Makefile.am:  (generate-docs.stamp) added '-' to tail of tail command as
+	 some implementations of tail parse the file information as the last argument
+
 2015-07-20  Jiri Vanek  <jvanek@redhat.com>
 
 	Tuned permissions attribute behavior for unsigned jnlps
--- a/Makefile.am	Mon Jul 20 15:54:20 2015 +0200
+++ b/Makefile.am	Wed Jul 22 13:17:39 2015 +0200
@@ -520,7 +520,7 @@
 	echo "<body><h3>$(PLUGIN_VERSION) docs:</h3>"  >> $$HTML_DOCS_INDEX ; \
 	for LANG_ID in en_US.UTF-8 cs_CZ.UTF-8 pl_PL.UTF-8 de_DE.UTF-8 ;  do \
 	  ID=`echo "$$LANG_ID" | head -c 2` ; \
-	  ENCOD=`echo "$$LANG_ID" | tail -c 6` ; \
+	  ENCOD=`echo "$$LANG_ID" | tail -c 6 -` ; \
 	  export LANG=$$LANG_ID; \
 	  mkdir "$$HTML_DOCS_TARGET_DIR/$$ID" ; \
 	  echo "<li><a href='$$ID/icedtea-web.html'>$$LANG_ID</a></li>"  >> "$$HTML_DOCS_INDEX" ; \