Skip to content

Commit

Permalink
Merge pull request #1 from charlielito/patch-1
Browse files Browse the repository at this point in the history
Fix source directory
  • Loading branch information
HorstBaerbel authored Feb 1, 2021
2 parents 8546cfd + c2dd969 commit b475e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run-clang-format.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
currentdir = os.path.realpath(os.getcwd()).rstrip(os.sep)
print("Arguments: " + str(sys.argv))
# Get absolute source dir after removing leading and trailing seperators from input.
sourcedir = currentdir + sys.argv[1].lstrip(os.sep).rstrip(os.sep)
sourcedir = os.path.join(currentdir,sys.argv[1].lstrip(os.sep).rstrip(os.sep))
print("Source directory: " + sourcedir)
excludedirs = ()
if sys.argv[2]:
Expand Down

0 comments on commit b475e48

Please sign in to comment.