瀏覽代碼

No need to require gmake here, it will redirect fine via BSDmakefile

Bryan Drewery 13 年之前
父節點
當前提交
4d951362ee
共有 1 個文件被更改,包括 3 次插入8 次删除
  1. 3 8
      build.sh

+ 3 - 8
build.sh

@@ -115,15 +115,10 @@ if [ $compile = "1" ]; then
 
 
  echo "[*] Building ${PACKNAME} for $os"
  echo "[*] Building ${PACKNAME} for $os"
 
 
- MAKE="`which gmake`"
- if test -z "${MAKE}"; then
-  MAKE="`which make`"
- fi
-
  if [ $clean = "2" ]; then
  if [ $clean = "2" ]; then
   if test -f Makefile; then
   if test -f Makefile; then
    echo "[*] DistCleaning old files..."
    echo "[*] DistCleaning old files..."
-   ${MAKE} distclean > /dev/null
+   make distclean > /dev/null
   fi
   fi
  fi
  fi
 
 
@@ -135,7 +130,7 @@ if [ $compile = "1" ]; then
 
 
  if [ $clean = "1" ]; then
  if [ $clean = "1" ]; then
   echo "[*] Cleaning up old binaries/files..."
   echo "[*] Cleaning up old binaries/files..."
-  ${MAKE} clean > /dev/null
+  make clean > /dev/null
  fi
  fi
 fi
 fi
 
 
@@ -143,7 +138,7 @@ _build()
 {
 {
  if [ $compile = "1" ]; then
  if [ $compile = "1" ]; then
   echo "[*] Building ${dmake}${tb}..."
   echo "[*] Building ${dmake}${tb}..."
-  ${MAKE} ${dmake}${tb}
+  make ${dmake}${tb}
   if ! test -f ${tb}; then
   if ! test -f ${tb}; then
     echo "[!] ${dmake}${tb} build failed"
     echo "[!] ${dmake}${tb} build failed"
     exit 1
     exit 1