Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit d391eb04 authored by ulrich_y's avatar ulrich_y
Browse files

bug fix in create-menu.py and submit

parent bf63b988
No related branches found
No related tags found
No related merge requests found
......@@ -269,7 +269,6 @@ def parseargs():
)
parsed = parser.parse_args()
print parsed
args = {}
if parsed.nseeds:
......@@ -297,8 +296,11 @@ def parseargs():
if parsed.prog:
args['binary'] = parsed.prog
if parsed.i or args.keys()==["binary"]:
if parsed.i:
args = interogate(args)
elif not parsed.output_dir:
parser.error("Check your flags")
return args, parsed.force
......@@ -343,7 +345,6 @@ def save(menu, conf, folder, force=False):
fp.write(submit)
os.chmod(menu[0], 0o664)
os.chmod(menu[1], 0o664)
os.chmod(folder + "/submit.sh", 0o775)
print "Created menu, config and submit script in ",folder
......
......@@ -79,16 +79,19 @@ EOF
sleep 1
done
echo "Trap removed! "
trap SIGINT
trap - SIGINT
set +m
for i in {5..1} ; do
echo -ne "\rBlocking in in ${i}s\r"
sleep 1 || exit 0
sleep 1 || exit 1
done
set -m
echo "Trap added! "
echo `list_descendants $$`
trap 'nonmerlintrap' SIGINT
exec 6>&1
trap 'wakeup' SIGCHLD
wakeup
}
function list_descendants () {
local children=$(ps -o pid= --ppid "$1")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment