Răsfoiți Sursa

scripts: change basedir default location to repo home

Shiv Tyagi 1 an în urmă
părinte
comite
579a8e6b16
2 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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"
     )