Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
files.append not detecting lines present if ~ used #367
The files.append always appends the lines, whether they're present or not.
It appears a tilde in the path is a factor.
Replaced '~/lines' with 'lines' and it behaves as expected. It is the file presence detection that is failing:
As you can see, even after the first command is run, it fails to detect the file. I've replicated this on Ubuntu 10.04 and the redhat variant at Bluehost.
Originally submitted by Jason R. Coombs (jaraco) on 2011-06-24 at 01:55pm EDT