summaryrefslogtreecommitdiffstats
path: root/tools/glusterfind/glusterfind.in
diff options
context:
space:
mode:
Diffstat (limited to 'tools/glusterfind/glusterfind.in')
-rw-r--r--tools/glusterfind/glusterfind.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/glusterfind/glusterfind.in b/tools/glusterfind/glusterfind.in
index 79f06faeae0..569bf412105 100644
--- a/tools/glusterfind/glusterfind.in
+++ b/tools/glusterfind/glusterfind.in
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python
# Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com/>
# This file is part of GlusterFS.
@@ -10,6 +10,7 @@
import sys
sys.path.insert(1, '@GLUSTERFS_LIBEXECDIR@/')
+sys.path.insert(1, '@GLUSTERFS_LIBEXECDIR@/glusterfind')
from glusterfind.main import main