diff options
author | Jeff Hlywa <[email protected]> | 2016-07-21 23:30:47 -0400 |
---|---|---|
committer | Jeff Hlywa <[email protected]> | 2016-07-21 23:30:47 -0400 |
commit | d5e149102abd52b81b3c446828f5cce5afc08805 (patch) | |
tree | 1ed54e881d8c355c8c229dbfade501084a951c48 /kerl | |
parent | cc3b8d6cfa62640bf26fe1af653a5633dd229425 (diff) | |
download | kerl-d5e149102abd52b81b3c446828f5cce5afc08805.tar.gz kerl-d5e149102abd52b81b3c446828f5cce5afc08805.tar.bz2 kerl-d5e149102abd52b81b3c446828f5cce5afc08805.zip |
Fix invalid symlinks when KERL_BUILD_DOCS=true
Diffstat (limited to 'kerl')
-rwxr-xr-x | kerl | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -772,8 +772,7 @@ ACTIVATE_FISH DOC_DIR="$KERL_BUILD_DIR/$1/release_$rel/lib/erlang" if [ -d "$DOC_DIR" ]; then echo "Installing docs..." - mkdir -p "$absdir/lib/erlang" || exit 1 - cp $CP_OPT "$DOC_DIR/" "$absdir/lib/erlang" + cp $CP_OPT "$DOC_DIR/" "$absdir/lib" ln -s "$absdir/lib/erlang/man" "$absdir/man" ln -s "$absdir/lib/erlang/doc" "$absdir/html" fi |