Prechádzať zdrojové kódy

scripts: change basedir default location to repo home

Shiv Tyagi 1 rok pred
rodič
commit
579a8e6b16

+ 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"
     )