script_folder="/home/omp.ru/a.begichev/Build/hub.mos.ru/auroraos/conan/AuroraConan/recepies/patchelf/test_package"
echo "echo Restoring environment" > "$script_folder/deactivate_conanbuildenv-release-armv7.sh"
for v in PATH
do
    is_defined="true"
    value=$(printenv $v) || is_defined="" || true
    if [ -n "$value" ] || [ -n "$is_defined" ]
    then
        echo export "$v='$value'" >> "$script_folder/deactivate_conanbuildenv-release-armv7.sh"
    else
        echo unset $v >> "$script_folder/deactivate_conanbuildenv-release-armv7.sh"
    fi
done


export PATH="/home/omp.ru/a.begichev/.conan-armv7hl/p/b/patchc180e4d74c205/p/bin:$PATH"