| adm | Find | login register |
caleb joined: 2007-09-22 posted: 630 promoted: 134 bookmarked: 90 |
以下轉自 http://cle.linux.org.tw/trac/discussion/1/431
不是所有 shell 都支援 >& 這種用法。 --- gcin-1.3.8.pre9.orig/configure +++ gcin-1.3.8.pre9/configure @@ -12,20 +12,20 @@ fi MAKE=make -which gmake >& /dev/null +which gmake > /dev/null 2> /dev/null if [ $? = 0 ]; then MAKE=gmake fi FREEBSD=0 -uname | grep FreeBSD >& /dev/null +uname | grep FreeBSD > /dev/null 2> /dev/null if [ $? = 0 ]; then FREEBSD=1 fi SO_FLAGS="-shared" MAC_OS=0 -uname | grep Darwin >& /dev/null +uname | grep Darwin > /dev/null 2> /dev/null if [ $? = 0 ]; then FREEBSD=1 MAC_OS=1 | |||||||
eliu joined: 2007-08-09 posted: 11478 promoted: 617 bookmarked: 187 新竹, 台灣 |
|
| adm | Find | login register |