summaryrefslogtreecommitdiff
path: root/fixincludes
diff options
context:
space:
mode:
Diffstat (limited to 'fixincludes')
-rw-r--r--fixincludes/Makefile.in2
-rw-r--r--fixincludes/configure2
2 files changed, 2 insertions, 2 deletions
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