adjust build dir
This commit is contained in:
23
extra/tools/expect/checkExpect
Normal file
23
extra/tools/expect/checkExpect
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#created by hewd
|
||||
#Date:2002-11-27
|
||||
|
||||
###############################################################################
|
||||
#Check and install expect
|
||||
###############################################################################
|
||||
if(test -x /usr/bin/expect ) then
|
||||
if(test -x /usr/local/bin/expect ) then
|
||||
echo "Check Expect OK!"
|
||||
else
|
||||
cp ./expect /usr/local/bin
|
||||
echo "Install expect to /usr/local/bin ok!"
|
||||
fi
|
||||
else
|
||||
cp ./expect /usr/bin
|
||||
chmod 755 /usr/bin/expect
|
||||
cp ./expect /usr/local/bin
|
||||
chmod 755 /usr/local/bin/expect
|
||||
cp ./libexpect* /usr/lib
|
||||
chmod 755 /usr/local/bin/libexpect*
|
||||
echo "Install expect ok!"
|
||||
fi
|
||||
BIN
extra/tools/expect/expect
Normal file
BIN
extra/tools/expect/expect
Normal file
Binary file not shown.
Reference in New Issue
Block a user