shell scripts: fix use of dash at variable assignments
commit3311788e29141a9ae6e0fd8d641c04875a80cc45
authorMarkus Heidelberg <markus.heidelberg@web.de>
Wed, 11 Feb 2009 01:16:46 +0000 (11 02:16 +0100)
committerMarkus Heidelberg <markus.heidelberg@web.de>
Wed, 11 Feb 2009 01:25:14 +0000 (11 02:25 +0100)
tree3fa911f95bcca9adb1553a73d1d01a039f930f71
parent5c4adc30c3387f3e98c1e8daead3f8f881b7b635
shell scripts: fix use of dash at variable assignments

When update-vim.sh was interpreted by the dash shell, the following
error occured:

    export: 100: 5: bad variable name

This was caused by the assignemt of the date, which had spaces and
colons in its string, via the export command.

For consistency surround all variable assignments with parentheses
except of the ones like this, where the variable is set to the output of
a command without using export, because this seems to be safe:

    VARIABLE=$(command)
update-vim-runtime.sh
update-vim.sh