]> Nishi Git Mirror - mandshurica.git/commitdiff
pass arg master
authornishi <nishi@f982e544-4a7d-3444-ad1a-fde59a2a69f1>
Mon, 27 May 2024 16:06:57 +0000 (16:06 +0000)
committernishi <nishi@f982e544-4a7d-3444-ad1a-fde59a2a69f1>
Mon, 27 May 2024 16:06:57 +0000 (16:06 +0000)
git-svn-id: file:///raid/svn-main/nishi-mandshurica/trunk@93 f982e544-4a7d-3444-ad1a-fde59a2a69f1

build.sh

index 103186f8b374c0938ae5126adc9a2eb9ebb5ed35..dcc20cac2e4564c2eb1946d034a852e087d7d04c 100755 (executable)
--- 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
 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
        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
        EXITCODE=$?
 fi
 exit $EXITCODE