Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ras-devel
FLAG
Commits
28fc1ef6
Commit
28fc1ef6
authored
May 28, 2019
by
Mitch Burnett
Browse files
modify install script to accept alternate install prefix from environment
parent
aa897fb9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
.gitignore
.gitignore
+1
-0
install
install
+6
-2
No files found.
.gitignore
View file @
28fc1ef6
...
...
@@ -24,3 +24,4 @@ autom4te.cache
*.swp
hash/
standalone/
build/
install
View file @
28fc1ef6
...
...
@@ -8,8 +8,12 @@ else
FLAG_DIR
=
$1
fi
# Change this to match your destination directory
prefix
=
/home/groups/flag/hash/
# Set default install location if prefix is not in environment
if
[
-z
${
prefix
+x
}
]
then
prefix
=
/home/groups/flag/hash/
fi
echo
"Installing FLAG to
${
prefix
}
"
# Add prefix to PATH
if
[[
"
$PATH
"
==
?
(
*
:
)
"
$prefix
/bin"
?
(
:
*
)
]]
...
...
Write
Preview
Markdown
is supported
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