[DEV] 2.4 tools

This commit is contained in:
2015-09-19 10:52:26 +02:00
commit b6ae08bd22
945 changed files with 186828 additions and 0 deletions

25
scripts/shared_script Normal file
View File

@@ -0,0 +1,25 @@
#!/bin/sh
# EST shared script
extend() {
var="$1"
extra="$2"
eval "val=\$$var"
if [ -n "$val" ]
then
val="$extra:$val"
else
val="$extra"
fi
eval "$var='$val'"
eval "export $var"
}
extend __LDVAR__ "__LIB__:__LDPATH__"
exec __MAIN__/__PROGRAM__ "$@"
exit 0