Merge branch 'master' into createcorelib

This commit is contained in:
Nico Schottelius 2011-06-17 14:14:52 +02:00
commit 6d0cdc9456
5 changed files with 12 additions and 5 deletions

View File

@ -21,7 +21,11 @@
# Get the current value of key or __NOTSET__ if the key doesn't exist.
#
key="$(cat "$__object/parameter/key")"
if [ -f "$__object/parameter/key" ]; then
key="$(cat "$__object/parameter/key")"
else
key="$__object_id"
fi
file="$(cat "$__object/parameter/file")"
delimiter="$(cat "$__object/parameter/delimiter")"

View File

@ -41,7 +41,7 @@ DONE
# change value
cat << DONE
awk -F "$delimiter" '
/${key}${delimiter}*/{gsub(/$value_is/, $value_should)};{print}' "$file" > "${file}+" \
/${key}${delimiter}*/{gsub(/$value_is/, "$value_should")};{print}' "$file" > "${file}+" \
&& mv "${file}+" "$file"
DONE

View File

@ -49,4 +49,4 @@ for property in $(ls .); do
fi
done
__package_$type "$@"
require="$__self" __package_$type "$@"

View File

@ -1,5 +1,7 @@
1.7.1:
* Add explorers to reference documentation
* Documentation: Add explorers to reference
* Documentation: Typo cleanup (Derek Brost)
* Type __key_value: Bugfix (Steven Armstrong)
1.7.0: 2011-05-10
* Bugfix type __package_yum: Fix redhat support (Ramon Salvadó)

View File

@ -153,10 +153,11 @@ done
cat << eof
ENVIRONMENT VARIABLES
---------------------
__explorer::
Directory that contains all explorers.
Directory that contains all global explorers.
Available for: explorer
__manifest::
Directory that contains the initial manifest.