From a8ad43d4fd16c91e1ca4089efe60cebfa6ce4e4c Mon Sep 17 00:00:00 2001 From: Guillaume Munch Date: Thu, 7 Jan 2016 23:42:21 +0000 Subject: [PATCH] Check that we have bash before running updatelfuns.sh Also set executable bits on the devel scripts. --- development/tools/convert_kmap.py | 0 development/tools/count_lines_of_included_code.sh | 0 development/tools/designer43to42 | 0 development/tools/generate_symbols_images.py | 0 development/tools/generate_symbols_list.py | 0 development/tools/list_included_headers.sh | 0 development/tools/lyx-fedora | 0 development/tools/mergepo.py | 0 development/tools/unicodesymbols.py | 0 development/tools/update-po.sh | 0 development/tools/updatedocs.py | 0 development/tools/updatelayouts.py | 0 development/tools/updatelfuns.sh | 6 ++++++ development/tools/updatestats.sh | 0 14 files changed, 6 insertions(+) mode change 100644 => 100755 development/tools/convert_kmap.py mode change 100644 => 100755 development/tools/count_lines_of_included_code.sh mode change 100644 => 100755 development/tools/designer43to42 mode change 100644 => 100755 development/tools/generate_symbols_images.py mode change 100644 => 100755 development/tools/generate_symbols_list.py mode change 100644 => 100755 development/tools/list_included_headers.sh mode change 100644 => 100755 development/tools/lyx-fedora mode change 100644 => 100755 development/tools/mergepo.py mode change 100644 => 100755 development/tools/unicodesymbols.py mode change 100644 => 100755 development/tools/update-po.sh mode change 100644 => 100755 development/tools/updatedocs.py mode change 100644 => 100755 development/tools/updatelayouts.py mode change 100644 => 100755 development/tools/updatelfuns.sh mode change 100644 => 100755 development/tools/updatestats.sh diff --git a/development/tools/convert_kmap.py b/development/tools/convert_kmap.py old mode 100644 new mode 100755 diff --git a/development/tools/count_lines_of_included_code.sh b/development/tools/count_lines_of_included_code.sh old mode 100644 new mode 100755 diff --git a/development/tools/designer43to42 b/development/tools/designer43to42 old mode 100644 new mode 100755 diff --git a/development/tools/generate_symbols_images.py b/development/tools/generate_symbols_images.py old mode 100644 new mode 100755 diff --git a/development/tools/generate_symbols_list.py b/development/tools/generate_symbols_list.py old mode 100644 new mode 100755 diff --git a/development/tools/list_included_headers.sh b/development/tools/list_included_headers.sh old mode 100644 new mode 100755 diff --git a/development/tools/lyx-fedora b/development/tools/lyx-fedora old mode 100644 new mode 100755 diff --git a/development/tools/mergepo.py b/development/tools/mergepo.py old mode 100644 new mode 100755 diff --git a/development/tools/unicodesymbols.py b/development/tools/unicodesymbols.py old mode 100644 new mode 100755 diff --git a/development/tools/update-po.sh b/development/tools/update-po.sh old mode 100644 new mode 100755 diff --git a/development/tools/updatedocs.py b/development/tools/updatedocs.py old mode 100644 new mode 100755 diff --git a/development/tools/updatelayouts.py b/development/tools/updatelayouts.py old mode 100644 new mode 100755 diff --git a/development/tools/updatelfuns.sh b/development/tools/updatelfuns.sh old mode 100644 new mode 100755 index 04c8c022e5..763afddb4e --- a/development/tools/updatelfuns.sh +++ b/development/tools/updatelfuns.sh @@ -1,5 +1,11 @@ #!/bin/bash +if [ -z "$BASH_VERSION" ]; then + # http://article.gmane.org/gmane.editors.lyx.devel/159697 + echo "You must use bash to run this script"; + exit 1; +fi + function do_convert { for i in *; do if [ ! -f $i ]; then continue; fi diff --git a/development/tools/updatestats.sh b/development/tools/updatestats.sh old mode 100644 new mode 100755