yetus-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [1/5] yetus git commit: YETUS-366. Wrapper script generated by build.sh doesn't work if the user is in the same location and executes it with a relative path
Date Sun, 17 Apr 2016 17:09:32 GMT
Repository: yetus
Updated Branches:
  refs/heads/master c7cc9dba3 -> 14cae37c6


YETUS-366. Wrapper script generated by build.sh doesn't work if the user is in the same location
and executes it with a relative path

Signed-off-by: Sean Busbey <busbey@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/4ea61e23
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/4ea61e23
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/4ea61e23

Branch: refs/heads/master
Commit: 4ea61e238ab0a2b77aa59efc7c319c5b40532295
Parents: c7cc9db
Author: Allen Wittenauer <aw@apache.org>
Authored: Wed Apr 13 07:55:26 2016 -0700
Committer: Allen Wittenauer <aw@apache.org>
Committed: Sun Apr 17 10:05:38 2016 -0700

----------------------------------------------------------------------
 build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/4ea61e23/build.sh
----------------------------------------------------------------------
diff --git a/build.sh b/build.sh
index ebf2872..8be3911 100755
--- a/build.sh
+++ b/build.sh
@@ -192,7 +192,7 @@ do
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-"\$(dirname "\$(dirname "\${BASH_SOURCE-0}")")/lib/${utility}" "\${@}"
+exec "\$(dirname -- "\${BASH_SOURCE-0}")/../lib/${utility}" "\${@}"
 EOF
   chmod +x "${bin_tarball}/bin/${wrapper}"
 done


Mime
View raw message