h5bp/ant-build-script — Issue #20: createproject script breaks 
Author: uhbiv
Created: 2012-02-16 11:32:33+00:00
State: open

i'm using git bash on a vista machine
when i run createproject.sh from bash, it breaks after asking for the new project's name.
in the file, line 70, i see: cd -- "$src", which is basically asking to change dir to the same dir
the script works when i replace it with simply: cd .. i.e. move a level up

$ ./createproject.sh
To create a new html5-boilerplate project, enter a new directory name:
newproject
Created Directory: c:/root/3rdparty/h5bp-html5-boilerplate-112bad9/build/../newproject
cp: cannot stat `css': No such file or directory
cp: cannot stat `js': No such file or directory
cp: cannot stat `img': No such file or directory
cp: cannot stat `build': No such file or directory
cp: cannot stat `*.html': No such file or directory
`build.xml' -> `c:/root/3rdparty/h5bp-html5-boilerplate-112bad9/build/../newproject/build.xml'
`project.xml' -> `c:/root/3rdparty/h5bp-html5-boilerplate-112bad9/build/../newproject/project.xml'
cp: cannot stat `*.txt': No such file or directory
cp: cannot stat `*.png': No such file or directory
cp: cannot stat `*.ico': No such file or directory
cp: cannot stat `.htaccess': No such file or directory
Created Project: c:/root/3rdparty/h5bp-html5-boilerplate-112bad9/build/../newproject