From 900de30b0f40a254e19082d3e2b696d58e338b43 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Mon, 8 Jul 2019 14:58:26 +0200 Subject: [PATCH] Refactor genif.sh Changes: - Coding style fixes - ${1+"$@"} replaced with "$@" [1] - EXTRA_MODULE_PTRS variable is not used anymore - awk tool defined via environment variable - srcdir determined automatically from the genif.sh location [1] https://www.in-ulm.de/~mascheck/various/bourne_args/ Closes GH-4372 --- build/genif.sh | 66 ++++++++++++++++++++++++++++++-------------------- configure.ac | 6 ++--- 2 files changed, 42 insertions(+), 30 deletions(-) diff --git a/build/genif.sh b/build/genif.sh index a6eb627b0c5..697bef95912 100755 --- a/build/genif.sh +++ b/build/genif.sh @@ -1,39 +1,53 @@ -#! /bin/sh +#!/bin/sh +# +# Generate internal functions file content based on the provided extensions. +# +# SYNOPSIS: +# genif.sh