fix typo when installing for specific users (#578)
line 34 had `~/$user` which evaluates to `/home/user1/user1`. Now changed into `~$user` as above
This commit is contained in:
parent
5ac8ad718b
commit
04988ed839
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ else
|
|||
SELECTED_USERS=${@:2}
|
||||
echo "Selected users: $SELECTED_USERS"
|
||||
for user in $SELECTED_USERS; do
|
||||
homepath=$(eval echo "~/$user")
|
||||
homepath=$(eval echo "~$user")
|
||||
IFS=''
|
||||
echo $VIMRC > ${homepath}/.vimrc
|
||||
unset IFS
|
||||
|
|
Loading…
Reference in a new issue