12 lines
174 B
Bash
Executable File
12 lines
174 B
Bash
Executable File
#!/bin/sh
|
|
|
|
files=($(ls $PWD))
|
|
dest="/etc/portage/"
|
|
|
|
for file in "${files[@]}"; do
|
|
# Ignore link.sh
|
|
if [ "$file" != "link.sh" ]; then
|
|
ln -sf "$PWD/$file" "$dest"
|
|
fi
|
|
done
|