Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
76c9b650
Commit
76c9b650
authored
Feb 06, 2003
by
Niels Möller
Browse files
Try to add /usr/local/bin and /usr/ccs/bin to
PATH, if needed. Rev: misc/xenofarm.sh:1.11
parent
a05826f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
misc/xenofarm.sh
View file @
76c9b650
...
...
@@ -33,6 +33,22 @@ do
esac
done
# Fix PATH for system where the default environment is broken
# We may need /usr/local/bin to get GNU make
if
make
--version
|
grep
GNU
>
/dev/null
;
then
:
;
else
if
/usr/local/bin/make |
grep
GNU
>
/dev/null
;
then
PATH
=
"/usr/local/bin:
$PATH
"
fi
fi
# We may need /usr/ccs/bin for ar
if
type
ar
>
/dev/null
;
then
:
;
else
if
[
-x
/usr/ccs/bin/ar
]
;
then
PATH
=
"
$PATH
:/usr/ccs/bin"
fi
fi
rm
-rf
r
mkdir
r
exec
>
r/shlog.txt 2>&1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment