fix bug needed $subdir
parent
a1b3781c40
commit
21868df06b
|
@ -22,13 +22,13 @@ for file in $files; do
|
|||
install -m 660 -o $user -g ${2:-$user} $file $user_home
|
||||
done
|
||||
|
||||
if [[ ! subdir == "shell" ]]; then
|
||||
if [[ ! $subdir == "shell" ]]; then
|
||||
echo "export BASH_SHELL_USER_DIR=$user_home/$subdir" >> $user_home/.ucishell
|
||||
fi
|
||||
|
||||
echo -e "*********** create UCI BASH Shell directories for user in $dir *******"
|
||||
sdir=$user_home/$subdir
|
||||
subdirs="alias env ssh/config ssh/mounts /startup"
|
||||
# subdirs="alias env ssh/config ssh/mounts /startup"
|
||||
for dir in $(cat $BASH_SHELL_BASE/.bash-shell-include); do
|
||||
mkdir -p $sdir/$dir
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue