Use $newname instead of $1

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Fix substitution to use newname, not harbour-myapp

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Just don't descend into .git

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
2 pass approach for clarity; rename files and then substitute in-place

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Use [[ always; prefer $() to ``; make if/then more readable

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Don't include the rpm in git

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Rename the .pro file to be consistent

Signed-off-by: David Greaves <david.greaves@jollamobile.com>