about summary refs log tree commit diff
path: root/tools/check-settings-docs.sh
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2021-02-11 18:12:43 +0100
committerMichael Biebl <biebl@debian.org>2021-02-11 18:12:43 +0100
commit8f0db010e71e252ac290d51bd2a5b0a078f1d279 (patch)
tree2caa344fefcd9bb4218583c5aa2e0f92f4b2aa8c /tools/check-settings-docs.sh
parentf54032b30e1ddd84f10a339e0caf493772e049a7 (diff)
parent80ec1decc49c72efec2a8b87c06245c92c0ab807 (diff)
Update upstream source from tag 'upstream/1.29.90'
Update to upstream version '1.29.90'
with Debian dir 90df6d97476cc3200c410f3f3603b87396175c7a
Diffstat (limited to 'tools/check-settings-docs.sh')
-rwxr-xr-xtools/check-settings-docs.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/tools/check-settings-docs.sh b/tools/check-settings-docs.sh
deleted file mode 100755
index 8695ccc0..00000000
--- a/tools/check-settings-docs.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-srcdir=$1
-builddir=$2
-doc_h=$3
-
-if [ -z "$NMTST_NO_CHECK_SETTINGS_DOCS" ] ; then
-    if ! cmp -s "${srcdir}/${doc_h}.in" "${builddir}/${doc_h}"; then
-        if [ "$NM_TEST_REGENERATE" = 1 ] ; then
-            cp -f "${builddir}/${doc_h}" "${srcdir}/${doc_h}.in"
-        else
-            echo "*** Error: the generated file '${builddir}/${doc_h}' differs from the source file '${srcdir}/${doc_h}.in'. You probably should copy the generated file over to the source file. You can skip this test by setting NMTST_NO_CHECK_SETTINGS_DOCS=yes. You can also automatically copy the file by rerunning the test with NM_TEST_REGENERATE=1"
-            exit 1
-        fi
-    fi
-fi
-
-exit 0
-