[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bootstrap: copy failure
From: |
Sergey Poznyakoff |
Subject: |
bootstrap: copy failure |
Date: |
Sun, 18 Nov 2007 12:54:12 +0200 |
Bootstrap reports
cp: cannot create regular file `lib/uniwidth/cjk.h-t': No such file or
directory
The following patch fixes it:
diff --git a/build-aux/bootstrap b/build-aux/bootstrap
index 0e2bd34..278c10b 100755
--- a/build-aux/bootstrap
+++ b/build-aux/bootstrap
@@ -366,6 +367,11 @@ cp_mark_as_generated()
*) c1= ; c2= ;;
esac
+ dst_dir=`dirname "$cp_dst"`
+ if ! test -d "$dst_dir"; then
+ mkdir -p "$dst_dir"
+ fi
+
if test -z "$c1"; then
cmp -s "$cp_src" "$cp_dst" || {
echo "$0: cp -f $cp_src $cp_dst" &&
Regards,
Sergey
- bootstrap: copy failure,
Sergey Poznyakoff <=