~autumnull/haredo-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] bootstrap.sh: improve path handling

Details
Message ID
<CX6EQ3OS9J9X.BDPAYYLTR1QK@posteo.net>
DKIM signature
missing
Download raw message
Patch: +2 -2
- fix pwd with space
- dirname with a subshell less
- non relative PATH

---
 bootstrap.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bootstrap.sh b/bootstrap.sh
index cddadd8..d7ee161 100755
--- a/bootstrap.sh
@@ -1,9 +1,9 @@
#!/bin/sh -e
cd $(dirname $0)
cd "${0%/*}"

hare build -o bin/haredo src

export PATH="bin:$PATH"
export PATH="$PWD/bin:$PATH"
haredo doc/haredo.1
if [ "$1" = "install" ]
then
-- 
2.42.1
Details
Message ID
<c0bbb7a0-a332-482a-a0ec-e763b6b3a392@posteo.net>
In-Reply-To
<CX6EQ3OS9J9X.BDPAYYLTR1QK@posteo.net> (view parent)
DKIM signature
missing
Download raw message
Thanks

~Autumn
Reply to thread Export thread (mbox)