In a bash script I have it is supposed to write certain lines to a file.
This is what it supposed to write:

```
echo "export ROS_PACKAGE_PATH=/home/forklift/forklift-workspace:$ROS_PACKAGE_PATH" >> ~/.bashrc

```

and this is what it writes in the file:

```
export ROS_PACKAGE_PATH=/home/forklift/forklift-workspace:

```

how do I fix this?
I'm using Ubuntu

Any help is appreciated!!