From 43c916b6dc5441c273bbefd789f8944f2d8c8070 Mon Sep 17 00:00:00 2001 From: Shiz Date: Sat, 20 Jun 2015 04:10:22 +0200 Subject: fix portability issues in build system This fixes numerous issues where the CBB build system used non-portable constructs. See COPYING.MIDIPIX (9cd0746c) for copyright information. Signed-off-by: Shiz --- fixincludes/Makefile.in | 2 +- fixincludes/configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'fixincludes') diff --git a/fixincludes/Makefile.in b/fixincludes/Makefile.in index 266c6ee35..458d1b8b8 100644 --- a/fixincludes/Makefile.in +++ b/fixincludes/Makefile.in @@ -11,5 +11,5 @@ fixincl: $(src_dir)/fixincl.c $(CC) -o fixincl $(src_dir)/fixincl.c fixinc.sh: $(src_dir)/fixinc.sh - cp -t . $(src_dir)/fixinc.sh + cp $(src_dir)/fixinc.sh . chmod +x fixinc.sh diff --git a/fixincludes/configure b/fixincludes/configure index 197f4488c..ac3591026 100644 --- a/fixincludes/configure +++ b/fixincludes/configure @@ -3,5 +3,5 @@ src_dir=$(dirname $0) cp $src_dir/Makefile.in Makefile # update makefile -sed -i -e 's#@src_dir@#'$src_dir'#g' Makefile +sed -e 's#@src_dir@#'$src_dir'#g' Makefile > Makefile.tmp && mv Makefile.tmp Makefile -- cgit v1.2.3