2
0
mirror of https://github.com/bpkg/bpkg synced 2024-11-08 01:10:36 +00:00

Ensure symbolic links have absolute targets

Fixes #21.
This commit is contained in:
Sebastian Schuberth 2015-06-25 15:35:50 +02:00
parent 84b0eeab90
commit 9cd59f05f8

View File

@ -87,9 +87,9 @@ make_uninstall () {
make_link () {
make_uninstall
ln -s "$BIN" "$PREFIX/bin/$BIN"
ln -s "$PWD/$BIN" "$PREFIX/bin/$BIN"
for cmd in $CMDS; do
ln -s "$BIN-$cmd" "$PREFIX/bin"
ln -s "$PWD/$BIN-$cmd" "$PREFIX/bin"
done
return $?
}