ivansafrin/Polycode — Issue #45: polybuild doesn't understand tilde expansion in arguments
Author: mcclure
Created: 2011-11-18 07:23:47+00:00
State: open

This one's pretty minor but...

andis-macbook:Bin mcc$ ./polybuild --config=~/work/p/lua1/Project.xml --out=./test.polyapp
Polycode build tool v0.8.2
Reading config file from /Users/mcc/work/p/Polycode/Release/Darwin/Standalone/Bin/~/work/p/lua1/Project.xml
Reading xml from /Users/mcc/work/p/Polycode/Release/Darwin/Standalone/Bin/~/work/p/lua1/Project.xml
Error loading xml file: Failed to open file
Specified config file doesn't exist!

Put tilde in filename: It didn't work.

andis-macbook:Bin mcc$ ./polybuild --config=/Users/mcc/work/p/lua1/Project.xml --out=./test.polyapp
Polycode build tool v0.8.2
Reading config file from /Users/mcc/work/p/lua1/Project.xml
Reading xml from /Users/mcc/work/p/lua1/Project.xml
[etc]

Expand tilde into full path in filename: It worked.