Skip to content

Commit 5f6f313

Browse files
committed
removed verbose build mode and fixed start_daemon.sh permissions
1 parent 814359c commit 5f6f313

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ oldpwd=$(pwd)
44

55
UPDATE_SERVER="http://update.csploit.org/"
66
RUBY_VERSION=1.0.0
7-
CORE_VERSION=1.0.0
7+
CORE_VERSION=1.0.1
88

99
die() {
1010
echo "FAILED"
@@ -101,7 +101,7 @@ check_ndk() {
101101
build_core() {
102102
app_root=$(readlink -f ../)
103103

104-
ndk_args="V=1 APP_OPTIM=debug NDK_DEBUG=1 " # debug
104+
ndk_args="APP_OPTIM=debug NDK_DEBUG=1 " # debug
105105
ndk_args+="APP_PLATFORM=android-${api} " # force android api level
106106
ndk_args+="NDK_OUT=${app_root}/obj/android-${api} " # objects directory
107107

@@ -170,6 +170,7 @@ pack_core() {
170170
rsync -aq "${jni_root}/nmap/scripts/" "${out}/tools/nmap/scripts/" >&3 2>&1 || die
171171

172172
cp "${jni_root}/known-issues/start_daemon.sh" "${out}/"
173+
chmod 700 "${out}/start_daemon.sh"
173174

174175
echo -ne "ok\n[core] - copying configuration/database files..."
175176
for f in $nmap_data; do

0 commit comments

Comments
 (0)