susestudio / helphelp

Help generator
MIT License
1 stars 0 forks source link

Helphelp recognizes files which end up with ~ #5

Open tomschr opened 11 years ago

tomschr commented 11 years ago

The do_create script uses helphelp internally. If you modify any files, for example with Kate, some editors create a backup file which end up as "~". This makes the script fail with the following message:

$ ./do_create html
Generating help into directory 'html'
Reading repository /tmp/studio-help
Writing output...
[...]
Parse error: e.message
Error executing command 'helphelp -o html /tmp/studio-help'
Make sure you have installed the helphelp gem by running
  sudo gem install helphelp

The error goes away if you delete the backup file.