From cdc431ec812f944083d25e79b98fb9cecef037f6 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 5 Dec 2019 11:47:38 -0800 Subject: [PATCH] build_tools/precommit_checker.py: don't hard-code a platform-afflicted python path (#6124) Summary: Use `#!/usr/bin/env python2.7` instead. Pull Request resolved: https://github.com/facebook/rocksdb/pull/6124 Test Plan: `J=8 make commit_prereq` Differential Revision: D18834668 Pulled By: ltamasi fbshipit-source-id: cec40266cd5bcae8bf6cbe5a564ae78540deccc4 --- build_tools/precommit_checker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_tools/precommit_checker.py b/build_tools/precommit_checker.py index 74f75aa03..7d5eeecad 100755 --- a/build_tools/precommit_checker.py +++ b/build_tools/precommit_checker.py @@ -1,4 +1,4 @@ -#!/usr/local/fbcode/gcc-4.9-glibc-2.20-fb/bin/python2.7 +#!/usr/bin/env python2.7 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. from __future__ import absolute_import