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
tapasco
tapasco
Commits
d2f237c5
Commit
d2f237c5
authored
Jun 06, 2017
by
Jens Korinth
Browse files
Allow sourcing of setup.sh from other directories
* only works for Bash shell; warning for others
parent
c0611535
Changes
1
Show whitespace changes
Inline
Side-by-side
setup.sh
100644 → 100755
View file @
d2f237c5
export
TAPASCO_HOME
=
$PWD
if
[[
"-bash"
==
$0
]]
;
then
export
TAPASCO_HOME
=
`
dirname
${
BASH_SOURCE
[0]
}
| xargs
realpath
`
else
echo
"WARNING: non-bash shell; need source setup.sh from the TaPaSCo root dir!"
export
TAPASCO_HOME
=
$PWD
fi
echo
"TAPASCO_HOME=
$TAPASCO_HOME
"
export
PATH
=
$TAPASCO_HOME
/bin:
$PATH
export
MANPATH
=
$MANPATH
:
$TAPASCO_HOME
/man
# source ~/vivado_15.sh
sbt assembly
Jens Korinth
@jk
mentioned in commit
a831b501
·
Jul 14, 2017
mentioned in commit
a831b501
mentioned in commit a831b5015df6bd8f8d23ddd334a3b1159392de92
Toggle commit list
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