Browse Source

[963] fix run_dbutil.sh script to not change cwd

with this change, you can pass run_dbutil.sh a relative path name for the db file
Jelte Jansen 13 years ago
parent
commit
b204a39d5b
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/bin/dbutil/run_dbutil.sh.in

+ 1 - 2
src/bin/dbutil/run_dbutil.sh.in

@@ -37,5 +37,4 @@ export B10_FROM_SOURCE
 BIND10_MSGQ_SOCKET_FILE=@abs_top_builddir@/msgq_socket
 export BIND10_MSGQ_SOCKET_FILE
 
-cd ${DBUTIL_PATH}
-exec ${PYTHON_EXEC} -O b10-dbutil "$@"
+exec ${PYTHON_EXEC} -O ${DBUTIL_PATH}/b10-dbutil "$@"