-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Malformed patch #2
Comments
I am not sure why it does not work. Maybe the original file got changed and the patch is not compatible anymore. Anyway: You can just edit the file manually: Remove And add
at the end of the file before the Because I am using VScode to edit my openHAB files I think I will not try to fix this issue. |
This way? I'm still getting errors. I don't prefere Microsoft operating systems and I like mcedit for coding on linux, `--- Syntax.backup<----->2017-01-23 20:52:19.358163297 +0100 file ..*\.(items)$ openHAB\sItems file ..*\.(sitemap)$ openHAB\sSitemap file ..*\.(persist)$ openHAB\sPersistence file ..*\.(rules)$ openHAB\sRules file ..*\.(script)$ openHAB\sScript file .* unknown error: |
I just tried to patch the file on on of my RaspberryPis (without openHAB) and got the same error.
Looks like the original So I updated the patch file and this repository. If your curl -L -o /tmp/Syntax.patch https://github.com/CWempe/openhab-mcedit/raw/master/Syntax.patch
sudo patch /usr/share/mc/syntax/Syntax < /tmp/Syntax.patch If the original file is corrupted I hope you have a backup. Thanks for reporting this bug. btw: VScode is an incredible open source tool and supported by many operating systems beside Windows. Give it a try sometime. ;) |
Hi,
I'm getting:
[18:52:21] root@openHABianDevice:/etc/openhab/sitemaps# sudo patch /usr/share/mc/syntax/Syntax < /tmp/Syntax.patch
patching file /usr/share/mc/syntax/Syntax
Hunk #1 succeeded at 214 (offset 15 lines).
patch: **** malformed patch at line 30: +
Can you help me with that?
The text was updated successfully, but these errors were encountered: