finally move buildroot-ng to trunk

This commit is contained in:
Felix Fietkau
2006-10-13 22:51:49 +02:00
907 changed files with 495477 additions and 0 deletions

15
include/shell.sh Normal file
View File

@@ -0,0 +1,15 @@
getvar() {
eval "echo \"\${$1}\""
}
var2file() {
local var
eval "var=\"\${$1}\""
if [ -n "$var" ]; then echo "$var" > "$2"; fi
}
isset() {
local var
eval "var=\"\${$1}\""
[ -n "$var" ]
}