Browse Source

scripts: change basedir default location to repo home

Shiv Tyagi 1 năm trước cách đây
mục cha
commit
579a8e6b16
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  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"
     )