-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall
More file actions
executable file
·32 lines (23 loc) · 769 Bytes
/
install
File metadata and controls
executable file
·32 lines (23 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh
DESTDIR=/usr/local/bin
find bin -type f -print -exec install {} $DESTDIR/ \;
if [ -L $DESTDIR/colordiffbin ] ; then
rm $DESTDIR/colordiffbin
fi
ln -s $DESTDIR/diffbin $DESTDIR/colordiffbin
if [ -L $DESTDIR/emu_util_stlink ] ; then
rm $DESTDIR/emu_util_stlink
fi
ln -s $DESTDIR/emu_util $DESTDIR/emu_util_stlink
if [ -L $DESTDIR/emu_util_cmsisdap ] ; then
rm $DESTDIR/emu_util_cmsisdap
fi
ln -s $DESTDIR/emu_util $DESTDIR/emu_util_cmsisdap
if [ -L $DESTDIR/emu_util_openocd ] ; then
rm $DESTDIR/emu_util_openocd
fi
ln -s $DESTDIR/emu_util $DESTDIR/emu_util_openocd
if [ -L $DESTDIR/analysis_mapfile_gui.py ] ; then
rm $DESTDIR/analysis_mapfile_gui.py
fi
ln -s $DESTDIR/analysis_mapfile.py $DESTDIR/analysis_mapfile_gui.py