mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed PY-6630 Bad generated script for update python module in system with sudo command
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user