From e7368caf47c9bcdd853f1f9dac4382935d4caa6f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 8 Jul 2007 12:42:05 +0200 Subject: Adapt to deeper hierarchy in gnulib. * bootstrap (gnulib_tool): If the destination directory doesn't exist, create it. This is required at least for "lib/uniwidth/cjk.h". --- bootstrap | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bootstrap') diff --git a/bootstrap b/bootstrap index 16a308543..8382eb895 100755 --- a/bootstrap +++ b/bootstrap @@ -284,6 +284,12 @@ symlink_to_gnulib() dst=${2-$1} test -f "$src" && { + + # If the destination directory doesn't exist, create it. + # This is required at least for "lib/uniwidth/cjk.h". + dst_dir=`dirname "$dst"` + test -d "$dst_dir" || mkdir -p "$dst_dir" + if $copy; then { test ! -h "$dst" || { -- cgit v1.2.3-54-g00ecf