mirror of
1
0
Fork 0

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:
Quentin Meeus 2020-07-11 05:26:23 +02:00 committed by GitHub
parent 5ac8ad718b
commit 04988ed839
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ else
SELECTED_USERS=${@:2} SELECTED_USERS=${@:2}
echo "Selected users: $SELECTED_USERS" echo "Selected users: $SELECTED_USERS"
for user in $SELECTED_USERS; do for user in $SELECTED_USERS; do
homepath=$(eval echo "~/$user") homepath=$(eval echo "~$user")
IFS='' IFS=''
echo $VIMRC > ${homepath}/.vimrc echo $VIMRC > ${homepath}/.vimrc
unset IFS unset IFS