[BUGFIX] cd must be in subshell, otherwise breaks later

Due to wrong WD

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-01-16 14:44:59 +01:00
parent 582018adbb
commit b8b0ca107a

View file

@ -398,7 +398,7 @@ while [ "${i}" -lt "${no_sources}" ]; do
# #
# check for existence / use real name # check for existence / use real name
# #
pcmd cd "$ddir" || _exit_err "Cannot change to ${ddir}. Skipping." ( pcmd cd "$ddir" ) || _exit_err "Cannot change to ${ddir}. Skipping."
# #