Skip to content

Commit 192abb9

Browse files
jaapmarcusKristan Kenney
authored andcommitted
Incorrectly replaceing name
This should fix it
1 parent 8853a62 commit 192abb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/rebuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ rebuild_user_conf() {
1616

1717
# Update FNAME LNAME to NAME
1818
if [ -z $NAME ]; then
19-
NAME="$(sed -e 's/[[:space:]]*$//' <<<$FNAME $LNAME)"
19+
NAME="$FNAME $LNAME"
2020
sed -i "s/FNAME='$FNAME'/NAME='$NAME'/g" $USER_DATA/user.conf
2121
sed -i "/LNAME='$LNAME'/d" $USER_DATA/user.conf
2222
fi

0 commit comments

Comments
 (0)