Commit 20cfc1d4 authored by Christoffer Ackelman's avatar Christoffer Ackelman

Fixed sporadic compilation error due to OS_LINUX not being set.

parent 3565d01c
......@@ -224,8 +224,8 @@ pwre_create_makedir()
#pwre_hw="hw_x86"
cfile="$pwre_broot/pwre_${pwre_hw:3}_${pwre_os:3}.cnf"
dos=`eval echo ${pwre_os} | tr [:lower:] [:upper:]`
dhw=`eval echo ${pwre_hw} | tr [:lower:] [:upper:]`
dos=`eval echo ${pwre_os} | tr '[:lower:]' '[:upper:]'`
dhw=`eval echo ${pwre_hw} | tr '[:lower:]' '[:upper:]'`
conf_cc_define="-D$dos=1 -DOS_POSIX -D$dhw=1 -DOS=${pwre_os:3} -DHW=${pwre_hw:3} -D_${dos:3}"
conf_lib=""
conf_libwb=""
......
......@@ -197,8 +197,8 @@ pwre_create_makedir()
#pwre_hw="hw_x86"
cfile="$pwre_broot/pwre_${pwre_hw:3}_${pwre_os:3}.cnf"
dos=`eval echo ${pwre_os} | tr [:lower:] [:upper:]`
dhw=`eval echo ${pwre_hw} | tr [:lower:] [:upper:]`
dos=`eval echo ${pwre_os} | tr '[:lower:]' '[:upper:]'`
dhw=`eval echo ${pwre_hw} | tr '[:lower:]' '[:upper:]'`
conf_cc_define="-D$dos=1 -DOS_POSIX -D$dhw=1 -DOS=${pwre_os:3} -DHW=${pwre_hw:3} -D_${dos:3}"
conf_lib=""
conf_libgtk=""
......
......@@ -266,8 +266,8 @@ pwre_create_makedir()
let ebuild=0
cfile="$pwre_broot/pwre_${pwre_hw:3}_${pwre_os:3}.cnf"
dos=`eval echo ${pwre_os} | tr [:lower:] [:upper:]`
dhw=`eval echo ${pwre_hw} | tr [:lower:] [:upper:]`
dos=`eval echo ${pwre_os} | tr '[:lower:]' '[:upper:]'`
dhw=`eval echo ${pwre_hw} | tr '[:lower:]' '[:upper:]'`
conf_cc_define="-D$dos=1 -DOS_POSIX -D$dhw=1 -DOS=${pwre_os:3} -DHW=${pwre_hw:3} -D_${dos:3}"
conf_lib=""
conf_libwb=""
......
......@@ -196,8 +196,8 @@ pwre_create_makedir()
#pwre_hw="hw_x86"
cfile="$pwre_broot/pwre_${pwre_hw:3}_${pwre_os:3}.cnf"
dos=`eval echo ${pwre_os} | tr [:lower:] [:upper:]`
dhw=`eval echo ${pwre_hw} | tr [:lower:] [:upper:]`
dos=`eval echo ${pwre_os} | tr '[:lower:]' '[:upper:]'`
dhw=`eval echo ${pwre_hw} | tr '[:lower:]' '[:upper:]'`
conf_cc_define="-D$dos=1 -DOS_POSIX -D$dhw=1 -DOS=${pwre_os:3} -DHW=${pwre_hw:3} -D_${dos:3}"
conf_lib=""
conf_libgtk=""
......
......@@ -195,8 +195,8 @@ pwre_create_makedir()
#pwre_hw="hw_x86"
cfile="$pwre_broot/pwre_${pwre_hw:3}_${pwre_os:3}.cnf"
dos=`eval echo ${pwre_os} | tr [:lower:] [:upper:]`
dhw=`eval echo ${pwre_hw} | tr [:lower:] [:upper:]`
dos=`eval echo ${pwre_os} | tr '[:lower:]' '[:upper:]'`
dhw=`eval echo ${pwre_hw} | tr '[:lower:]' '[:upper:]'`
conf_cc_define="-D$dos=1 -DOS_POSIX -D$dhw=1 -DOS=${pwre_os:3} -DHW=${pwre_hw:3} -D_${dos:3}"
conf_lib=""
conf_libgtk=""
......
......@@ -198,8 +198,8 @@ pwre_create_makedir()
#pwre_hw="hw_x86"
cfile="$pwre_broot/pwre_${pwre_hw:3}_${pwre_os:3}.cnf"
dos=`eval echo ${pwre_os} | tr [:lower:] [:upper:]`
dhw=`eval echo ${pwre_hw} | tr [:lower:] [:upper:]`
dos=`eval echo ${pwre_os} | tr '[:lower:]' '[:upper:]'`
dhw=`eval echo ${pwre_hw} | tr '[:lower:]' '[:upper:]'`
conf_cc_define="-D$dos=1 -DOS_POSIX -D$dhw=1 -DOS=${pwre_os:3} -DHW=${pwre_hw:3} -D_${dos:3}"
conf_lib=""
conf_libgtk=""
......
......@@ -178,8 +178,8 @@ pwre_os="os_linux"
pwre_hw="hw_x86"
cfile="$pwre_broot/pwre_${pwre_hw:3}_${pwre_os:3}.cnf"
dos=`eval echo ${pwre_os} | tr [:lower:] [:upper:]`
dhw=`eval echo ${pwre_hw} | tr [:lower:] [:upper:]`
dos=`eval echo ${pwre_os} | tr '[:lower:]' '[:upper:]'`
dhw=`eval echo ${pwre_hw} | tr '[:lower:]' '[:upper:]'`
conf_cc_define="-D$dos=1 -D$dhw=1 -DOS=${pwre_os:3} -DHW=${pwre_hw:3} -D_${dos:3}"
conf_lib=""
conf_libgtk=""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment