Mercurial > octave
view libinterp/dldfcn/config-module.sh @ 21281:b76955e83fe4
maint: Run all build shell scripts with SHELL as command interpreter
* Makefile.am, common.mk, doc/module.mk, libinterp/corefcn/module.mk,
libinterp/module.mk, libinterp/octave-value/module.mk,
libinterp/operators/module.mk, liboctave/module.mk, scripts/module.mk,
test/module.mk: Use $(SHELL) variable as command interpreter for all build
helper shell scripts.
* config-images.sh, config-module.sh, config-ops.sh: Use ${SHELL}
environment variable as command interpreter for move-if-change helper
script.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Tue, 16 Feb 2016 23:08:31 -0800 |
parents | 1bca6c72d2b1 |
children | 592fa741e0aa |
line wrap: on
line source
#! /bin/sh set -e AWK=${AWK:-awk} SHELL=${SHELL:-/bin/sh} if [ $# -eq 1 ]; then top_srcdir="$1" else top_srcdir="../.." fi move_if_change="$top_srcdir/build-aux/move-if-change" dld_dir=$top_srcdir/libinterp/dldfcn $AWK -f $dld_dir/config-module.awk < $dld_dir/module-files > $dld_dir/module.mk-t $SHELL $move_if_change $dld_dir/module.mk-t $dld_dir/module.mk