view src/DLD-FUNCTIONS/config-module.sh @ 10546:f5b8b28917a2

Eliminate compile warning about explicit braces warning: suggest explicit braces to avoid ambiguous 'else'
author Rik <code@nomad.inbox5.com>
date Fri, 23 Apr 2010 09:58:23 -0700
parents 1ed7cc046c52
children b67c2d580a25
line wrap: on
line source

#! /bin/sh

set -e

: ${AWK=awk}

if [ $# -eq 1 ]; then
  top_srcdir="$1";
else
  top_srcdir="../.."
fi

dld_dir=$top_srcdir/src/DLD-FUNCTIONS

$AWK -f $dld_dir/config-module.awk < $dld_dir/module-files > $dld_dir/module.mk-t

$top_srcdir/move-if-change $dld_dir/module.mk-t $dld_dir/module.mk