Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x393_sata
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
x393_sata
Commits
9cd542ba
Commit
9cd542ba
authored
Mar 08, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added installation script for 393
parent
f1e33691
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
install.sh
install.sh
+15
-0
No files found.
install.sh
0 → 100755
View file @
9cd542ba
#!/bin/sh
#http://stackoverflow.com/questions/4774054/reliable-way-for-a-bash-script-to-get-the-full-path-to-itself
SCRIPT
=
$(
readlink
-f
$0
)
SCRIPTPATH
=
`
dirname
$SCRIPT
`
if
[
-z
"
$1
"
]
then
echo
"You need to specify instllation root"
exit
1
fi
install
-d
-v
$1
/usr/local/verilog/
install
-d
-v
$1
/usr/local/bin/
install
-v
-m
0755 py393sata/
*
.py
$1
/usr/local/bin/
install
-v
-m
0644 x393_sata.bit
$1
/usr/local/verilog/
exit
0
\ No newline at end of file
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