fixed PY-6630 Bad generated script for update python module in system with sudo command

This commit is contained in:
Ekaterina Tuzova
2012-06-20 18:49:15 +04:00
parent 18b48670de
commit 327af53513
@@ -181,8 +181,8 @@ public class ExecUtil {
"#!/bin/sh\n" +
"echo \"" + prompt + "\"\n" +
"echo\n" +
"sudo \"" + scriptPath + "\"\n" +
"STATUS=$?" +
"sudo " + scriptPath + "\n" +
"STATUS=$?\n" +
"echo\n" +
"read -p \"Press Enter to close this window...\" TEMP\n" +
"exit $STATUS\n");