Edit March 2017: I now added the downgrading variant, i.e. Ubuntu 16.04 with PHP.71 and 5.6
I needed a bash script to capture some repository info from a different folder in variables.
Dr. Google was helpful again and so I came up with this example script.
So you developed your app and neglected your config.xml?
If you are as impatient as me then your app might still showing up as
HelloCordova on your devices/emulators.
Updating your config is apparently not enough because your platform builds still contain references to the old app meta data.
This might be really basic but I found myself stumbling over this all the time. Writing it down may help.