diff options
author | Jim Meyering <jim@meyering.net> | 2007-07-08 12:42:05 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-07-08 12:42:05 +0200 |
commit | e7368caf47c9bcdd853f1f9dac4382935d4caa6f (patch) | |
tree | db0eacfc2a4d60deb5ea33a29f2715ddd030bc62 /bootstrap | |
parent | 1cea914143cab171beaad1f3df60566bcfa48cff (diff) | |
download | coreutils-e7368caf47c9bcdd853f1f9dac4382935d4caa6f.tar.xz |
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".
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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" || { |