I am creating a shell script in which i will be running a command :
mvn jetty:run -DFLOCK_APPS_CONFIG=staging
from inside the directory : /root/flock-snippets
Now the parameters staging and 8080
which i am passing above needs to be actually read from a file residing at /root
The contents of the file are :
So basically my script should read the values of those two keys and run the mvn
command by passing the appropriate values.
Please help/guide me to build the script.