Fixing linker
This commit is contained in:
parent
251a4bf209
commit
ceb7b7c376
1 changed files with 3 additions and 3 deletions
6
link.sh
6
link.sh
|
@ -3,7 +3,7 @@
|
|||
node=$(uname -n)
|
||||
node_files=($(ls $PWD/$node))
|
||||
common_files=($(ls $PWD/common))
|
||||
dest="$HOME/.local/bin"
|
||||
dest="$HOME/.local/bin/"
|
||||
|
||||
# Ensure destination exists
|
||||
if [ ! -d "$dest" ]; then
|
||||
|
@ -11,9 +11,9 @@ if [ ! -d "$dest" ]; then
|
|||
fi
|
||||
|
||||
for file in "${node_files[@]}"; do
|
||||
ln -sf "$PWD/bin/$file" "$dest"
|
||||
ln -sf "$PWD/$node/$file" "$dest"
|
||||
done
|
||||
|
||||
for file in "${common_files[@]}"; do
|
||||
ln -sf "$PWD/bin/$file" "$dest"
|
||||
ln -sf "$PWD/common/$file" "$dest"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue