mirror of
https://github.com/ShaYmez/ambed-debian-installer.git
synced 2024-11-25 01:08:39 -05:00
More syntax fixing
This commit is contained in:
parent
5a896eea55
commit
13a281c5b3
@ -46,7 +46,7 @@ then
|
|||||||
echo "Downloading and installing FTDI driver...."
|
echo "Downloading and installing FTDI driver...."
|
||||||
echo "------------------------------------------------------------------------------"
|
echo "------------------------------------------------------------------------------"
|
||||||
cd $AMBINSTDIR
|
cd $AMBINSTDIR
|
||||||
if [ $ARC = x86_64 ];
|
if [ "$ARC" = "x86_64" ];
|
||||||
then
|
then
|
||||||
wget $X64
|
wget $X64
|
||||||
tar xfvz libftd2xx-x86_64-1.4.6.tgz
|
tar xfvz libftd2xx-x86_64-1.4.6.tgz
|
||||||
@ -54,7 +54,7 @@ then
|
|||||||
cp libftd2xx.* /usr/local/lib
|
cp libftd2xx.* /usr/local/lib
|
||||||
chmod 0755 /usr/local/lib/libftd2xx.so.1.4.6
|
chmod 0755 /usr/local/lib/libftd2xx.so.1.4.6
|
||||||
ln -sf /usr/local/lib/libftd2xx.so.1.4.6 /usr/local/lib/libftd2xx.so
|
ln -sf /usr/local/lib/libftd2xx.so.1.4.6 /usr/local/lib/libftd2xx.so
|
||||||
elif [ $ARC = armv71 ];
|
elif [ "$ARC" = "armv71" ];
|
||||||
then
|
then
|
||||||
wget $ARM
|
wget $ARM
|
||||||
tar libftd2xx-arm-v7-hf-1.4.22.tgz
|
tar libftd2xx-arm-v7-hf-1.4.22.tgz
|
||||||
@ -62,7 +62,7 @@ then
|
|||||||
cp libftd2xx.* /usr/local/lib
|
cp libftd2xx.* /usr/local/lib
|
||||||
chmod 0755 /usr/local/lib/libftd2xx.so.1.4.22
|
chmod 0755 /usr/local/lib/libftd2xx.so.1.4.22
|
||||||
ln -sf /usr/local/lib/libftd2xx.so.1.4.22 /usr/local/lib/libftd2xx.so
|
ln -sf /usr/local/lib/libftd2xx.so.1.4.22 /usr/local/lib/libftd2xx.so
|
||||||
elif [ $ARC = i686 ];
|
elif [ "$ARC" = "i686" ];
|
||||||
then
|
then
|
||||||
wget $X32
|
wget $X32
|
||||||
tar xfvz libftd2xx-i386-1.4.6.tgz
|
tar xfvz libftd2xx-i386-1.4.6.tgz
|
||||||
|
Loading…
Reference in New Issue
Block a user