fix spelling
This commit is contained in:
parent
70f9d81688
commit
61910861dc
@ -17,7 +17,7 @@ trap "exitHandler" EXIT
|
|||||||
# fetch the trace and the drvPath of the attribute.
|
# fetch the trace and the drvPath of the attribute.
|
||||||
nix-instantiate $NIXPKGS -A $attr --show-trace > "$tmp/drvPath" 2> "$tmp/trace" || {
|
nix-instantiate $NIXPKGS -A $attr --show-trace > "$tmp/drvPath" 2> "$tmp/trace" || {
|
||||||
cat 1>&2 - "$tmp/trace" <<EOF
|
cat 1>&2 - "$tmp/trace" <<EOF
|
||||||
An error occured while evaluating $attr.
|
An error occurred while evaluating $attr.
|
||||||
EOF
|
EOF
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
@ -235,7 +235,7 @@ fi
|
|||||||
# default and/or activate it now.
|
# default and/or activate it now.
|
||||||
if [ "$action" = switch -o "$action" = boot -o "$action" = test -o "$action" = dry-activate ]; then
|
if [ "$action" = switch -o "$action" = boot -o "$action" = test -o "$action" = dry-activate ]; then
|
||||||
if ! $pathToConfig/bin/switch-to-configuration "$action"; then
|
if ! $pathToConfig/bin/switch-to-configuration "$action"; then
|
||||||
echo "warning: error(s) occured while switching to the new configuration" >&2
|
echo "warning: error(s) occurred while switching to the new configuration" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user