[FLOW3-general] flow3/flow3_dev CLI not working on Windows
Bastian Waidelich
bastian at typo3.org
Wed Jun 15 22:46:26 CEST 2011
Hi all,
it's a while ago that I pulled a fresh distribution..
I had to do it today because my hdd crashed (different story)... and
found out that the CLI scripts are not working at all on Windows (at
least for me):
It seems, Git "resolves" symlinks on Windows by creating a file pointing
to the target(!).
So it replaces
(http://git.typo3.org/FLOW3/Distributions/Base.git?a=blob;f=flow3;h=2843cf594ee6b2d77c11afdd7ea8ead25d49048b;hb=HEAD)
with a file that contains the string
"Packages/Framework/FLOW3/Scripts/flow3".
The reason why this took me ages to debug is: It does actually call the
referenced script when executed in msysgit. It just strips of the
command line arguments - so it will always execute the HelpCommand *DUH*.
I should have noticed this before and I remember that I tested this
before.. Probably I tested it without arguments back then and replaced
the files by real symlinks in the meantime..
I'll investigate further but for those experiencing the same problem:
Just replace the two files in the root of your distributions by real
symlinks [1] pointing to Packages/Framework/FLOW3/Scripts/flow3(_dev)
Bastian
[1] http://wiki.typo3.org/Symlinks_on_Windows
More information about the FLOW3-general
mailing list