]> git.ipfire.org Git - thirdparty/samba.git/commit
script/release.sh: make it possible to run from a git worktree
authorStefan Metzmacher <metze@samba.org>
Tue, 21 Jan 2020 18:25:00 +0000 (19:25 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 21 Jan 2020 18:36:04 +0000 (19:36 +0100)
commit969123b4ab8643a6cac47012bc61ec7bc00f1824
treeb8fa28f810de9cce9b2b9a918420a9f811106712
parent1c330a18d459f649f594dd7b0e9f0bd7406a6b26
script/release.sh: make it possible to run from a git worktree

.git is a regular file in that case.

Also check that script/release.sh is present as a relative path
to ensure we're called from the expected location.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 648f94d2031c6e758bdf54089d1e710c265ca732)
script/release.sh