← Commit list

006fa2d45

Rob Landley
Rob Landley
2006-02-16
SOURCE BUG Duration: 3s

Subject

When setting an environment variable by piping something into grep, backquotes can be useful. Also tweak an if case to be more portable.

SOURCE BUG

This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)

→ Bu hatanin tam hikayesini ve duzeltme diffini gor

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Debian 14.2.0-19) 14.2.0

—

Build Log

(log yok)

Commit Diff GitHub →

testsuite/testing.sh+2 -2
@@ -42,9 +42,9 @@ export SKIP=
optional()
{
- option="$OPTIONFLAGS" | egrep "(^|:)$1(:|\$)"
+ option=`echo "$OPTIONFLAGS" | egrep "(^|:)$1(:|\$)"`
# Not set?
- if [[ -z "$1" || -z "$OPTIONFLAGS" || ${#option} -ne 0 ]]
+ if [ -z "$1" ] || [ -z "$OPTIONFLAGS" ] || [ ${#option} -ne 0 ]
then
SKIP=""
return