diff --git a/scripts/construct/build_pb.py b/scripts/construct/build_pb.py index 43e0149..b77500f 100644 --- a/scripts/construct/build_pb.py +++ b/scripts/construct/build_pb.py @@ -72,7 +72,7 @@ def rebuild(cpp_out, python_out, pb_files): print('build_protocol rebuild error:' + str(e)) def repair_githooks(): - os.system('/bin/bash ../tools/scripts/githooks/install.sh') + os.system('/bin/bash ../../third_party/tools/scripts/githooks/install.sh') parser = OptionParser(usage="%prog [options]") parser.add_option( diff --git a/githooks/applypatch-msg b/scripts/githooks/applypatch-msg similarity index 100% rename from githooks/applypatch-msg rename to scripts/githooks/applypatch-msg diff --git a/githooks/commit-msg b/scripts/githooks/commit-msg similarity index 100% rename from githooks/commit-msg rename to scripts/githooks/commit-msg diff --git a/githooks/install.sh b/scripts/githooks/install.sh similarity index 100% rename from githooks/install.sh rename to scripts/githooks/install.sh diff --git a/githooks/post-update b/scripts/githooks/post-update similarity index 100% rename from githooks/post-update rename to scripts/githooks/post-update diff --git a/githooks/pre-applypatch b/scripts/githooks/pre-applypatch similarity index 100% rename from githooks/pre-applypatch rename to scripts/githooks/pre-applypatch diff --git a/githooks/pre-commit b/scripts/githooks/pre-commit similarity index 100% rename from githooks/pre-commit rename to scripts/githooks/pre-commit diff --git a/githooks/pre-push b/scripts/githooks/pre-push similarity index 100% rename from githooks/pre-push rename to scripts/githooks/pre-push diff --git a/githooks/pre-rebase b/scripts/githooks/pre-rebase similarity index 100% rename from githooks/pre-rebase rename to scripts/githooks/pre-rebase diff --git a/githooks/prepare-commit-msg b/scripts/githooks/prepare-commit-msg similarity index 100% rename from githooks/prepare-commit-msg rename to scripts/githooks/prepare-commit-msg diff --git a/githooks/update b/scripts/githooks/update similarity index 100% rename from githooks/update rename to scripts/githooks/update