Просмотр исходного кода

scripts: change basedir default location to repo home

Shiv Tyagi 1 год назад
Родитель
Сommit
579a8e6b16
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      scripts/fetch_releases.py
  2. 1 1
      scripts/fetch_whitelisted_tags.py

+ 1 - 1
scripts/fetch_releases.py

@@ -260,7 +260,7 @@ if __name__ == "__main__":
     parser.add_option(
         "", "--basedir", type="string",
         default=os.path.abspath(
-            os.path.join(os.path.dirname(__file__), "..", "..", "base")
+            os.path.join(os.path.dirname(__file__), "..", "base")
         ),
         help="base directory"
     )

+ 1 - 1
scripts/fetch_whitelisted_tags.py

@@ -280,7 +280,7 @@ if __name__ == "__main__":
     parser.add_option(
         "", "--basedir", type="string",
         default=os.path.abspath(
-            os.path.join(os.path.dirname(__file__), "..", "..", "base")
+            os.path.join(os.path.dirname(__file__), "..", "base")
         ),
         help="base directory"
     )