forked from p15670423/monkey
Warning fixes in install.sh cause why not
This commit is contained in:
parent
d581b484cd
commit
9cdb87c598
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
MACHINE_TYPE=`uname -m`
|
MACHINE_TYPE=$(uname -m)
|
||||||
if [ ${MACHINE_TYPE} == 'x86_64' ]; then
|
if [ "${MACHINE_TYPE}" == 'x86_64' ]; then
|
||||||
# 64-bit stuff here
|
# 64-bit stuff here
|
||||||
ARCH=64
|
ARCH=64
|
||||||
else
|
else
|
||||||
|
@ -11,4 +11,4 @@ fi
|
||||||
|
|
||||||
MONKEY_FILE=monkey-linux-$ARCH
|
MONKEY_FILE=monkey-linux-$ARCH
|
||||||
cp -f /var/monkey/monkey_island/cc/binaries/$MONKEY_FILE /tmp
|
cp -f /var/monkey/monkey_island/cc/binaries/$MONKEY_FILE /tmp
|
||||||
/tmp/$MONKEY_FILE m0nk3y $@
|
/tmp/$MONKEY_FILE m0nk3y "$@"
|
||||||
|
|
Loading…
Reference in New Issue