From: nishi Date: Mon, 27 May 2024 16:06:57 +0000 (+0000) Subject: pass arg X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=caac7fe1b91d39ff44f1ce1ccffda5823fbffc5f;p=mandshurica.git pass arg git-svn-id: file:///raid/svn-main/nishi-mandshurica/trunk@93 f982e544-4a7d-3444-ad1a-fde59a2a69f1 --- diff --git a/build.sh b/build.sh index 103186f..dcc20ca 100755 --- a/build.sh +++ b/build.sh @@ -9,10 +9,10 @@ fi EXITCODE=0 touch auth.db login.db project.db if [ "`uname -s`" = "NetBSD" ]; then - $MAKE PREFIX=`pwd` DATABASE_PREFIX=`pwd` MODULE_PREFIX=`pwd`/Module WEBROOT_PREFIX=`pwd`/Webroot PROJECT_PREFIX=`pwd`/Project TOOL_PREFIX=`pwd`/Tool -j`cat /proc/cpuinfo | grep proc | wc -l` + $MAKE PREFIX=`pwd` DATABASE_PREFIX=`pwd` MODULE_PREFIX=`pwd`/Module WEBROOT_PREFIX=`pwd`/Webroot PROJECT_PREFIX=`pwd`/Project TOOL_PREFIX=`pwd`/Tool -j`cat /proc/cpuinfo | grep proc | wc -l` $1 EXITCODE=$? else - $MAKE PREFIX=`pwd` DATABASE_PREFIX=`pwd` MODULE_PREFIX=`pwd`/Module WEBROOT_PREFIX=`pwd`/Webroot PROJECT_PREFIX=`pwd`/Project TOOL_PREFIX=`pwd`/Tool -j`nproc` + $MAKE PREFIX=`pwd` DATABASE_PREFIX=`pwd` MODULE_PREFIX=`pwd`/Module WEBROOT_PREFIX=`pwd`/Webroot PROJECT_PREFIX=`pwd`/Project TOOL_PREFIX=`pwd`/Tool -j`nproc` $1 EXITCODE=$? fi exit $EXITCODE