Update 'new-locale.py' script to handle 'devscripts'

master
MrS0m30n3 2017-04-17 19:11:30 +03:00
parent 8af86c85fc
commit da55eac072
1 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,8 @@ def output(msg):
def manage_directory():
"""Allow script calls outside the 'locale_build' dir."""
if os.path.basename(os.getcwd()) == "locale_build":
"""Allow script calls from the 'devscripts' dir and the package dir."""
if os.path.basename(os.getcwd()) == "devscripts":
os.chdir("..")