revert emacs code, omit newline in args file so languages stop seeing a blank arg
This commit is contained in:
parent
9237806dee
commit
6d69a1b189
|
@ -22,7 +22,7 @@ mkdir -p $basepath/tmp/$epoch
|
|||
chmod 777 $basepath/tmp/$epoch
|
||||
cat $2 > $basepath$filepath
|
||||
echo $3 > $basepath$stdinpath
|
||||
echo "${@:4}" > $basepath$argpath
|
||||
echo -n "${@:4}" > $basepath$argpath
|
||||
|
||||
# process incrementor
|
||||
exec 200>$dir/lockfile
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /tmp/$2
|
||||
if [[ -z $(grep '[^[:space:]]' args.args) ]]; then
|
||||
timeout -s KILL 3 emacs -Q --script code.code < stdin.stdin
|
||||
else
|
||||
timeout -s KILL 3 xargs -a args.args -d '\n' emacs -Q --script code.code < stdin.stdin
|
||||
fi
|
||||
timeout -s KILL 3 xargs -a args.args -d '\n' emacs -Q --script code.code < stdin.stdin
|
||||
|
|
Loading…
Reference in New Issue