Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Blaise LI
bioinfo_utils
Commits
52c1f4c3
Commit
52c1f4c3
authored
Sep 17, 2019
by
Blaise Li
Browse files
Install to /usr/local/bin when root installs.
parent
5f3090e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
remove-duplicates-from-sorted-fastq/Haskell/install.sh
View file @
52c1f4c3
...
...
@@ -66,4 +66,11 @@ doctest --version 2> /dev/null \
make_stack_options
stack
${
stack_options
}
build
--exec
"hlint src/Main.hs"
--exec
"scan -j False src/Main.hs"
--exec
"doctest src/Main.hs"
stack
install
if
[
"
${
USER
}
"
==
"root"
]
then
# We don't want things to be installed in root's home directory.
stack
install
--local-bin-path
"/usr/local/bin"
else
stack
install
fi
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