andreas-abel / uiCA

uops.info Code Analyzer
GNU Affero General Public License v3.0
230 stars 16 forks source link

Missing flag in Linux setup script #11

Closed ritter-x2a closed 3 years ago

ritter-x2a commented 3 years ago

It seems that in this line https://github.com/andreas-abel/uiCA/blob/6bd6e54d8c2a41ea04fcba0ce20d64b26369add5/setup.sh#L9 of the Linux setup script, a -f is missing, resulting in this error message:

error: the following file has local modifications:
    XED-to-XML
(use --cached to keep the file, or -f to force removal)
fatal: Submodule work tree 'XED-to-XML' contains local modifications; use '-f' to discard them

(The corresponding command in the Windows script contains this flag.)

While this doesn't seem to affect the initial installation, it leaves the repo in a broken state for re-running the script for updates.