Skip to content

Commit

Permalink
Support running VCS umake version without being in root directory
Browse files Browse the repository at this point in the history
We were forced to be in root directory beforehand to run correct umake
version if a system one was installed. Ensure we don't require this anymore.
Fixes: ubuntu#377
  • Loading branch information
didrocks committed Dec 7, 2016
1 parent 58f6c38 commit 885b52c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/umake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import os
import sys
# Run local umake from this helper
root_dir = os.path.dirname(os.path.dirname(__file__))
root_dir = os.path.dirname(os.path.abspath(os.path.dirname(__file__)))
sys.path.insert(0, root_dir)

from umake import main
Expand Down

0 comments on commit 885b52c

Please sign in to comment.