Forráskód Böngészése

scripts: change basedir default location to repo home

Shiv Tyagi 1 éve
szülő
commit
579a8e6b16
2 módosított fájl, 2 hozzáadás és 2 törlés
  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"
     )