autotests: Fix testenv script on Unix.

Authored by rakuco on Feb 13 2018, 8:04 PM.

Description

autotests: Fix testenv script on Unix.

Summary:
Commit f89c0b569 ("Akonaditest: Fix testenv script on Windows") ended up
breking the shell script created on non-Windows environments.

Instead of

old_foo="bar"

we were doing

$old_foo="bar"

which then failed to be sourced.

Reviewers: dvratil

Reviewed By: dvratil

Subscribers: KDE PIM

Tags: KDE PIM

Differential Revision: https://phabricator.kde.org/D10491

Details

Committed
rakucoFeb 14 2018, 7:24 AM
Reviewer
dvratil
Differential Revision
D10491: autotests: Fix testenv script on Unix.
Parents
R165:3a7017dd3971: Fix some warnings
Branches
Unknown
Tags
Unknown