Pārlūkot izejas kodu

test/run.sh: shrc: Just conduct syntax check by -n option

pull/1/head
10sr pirms 9 gadiem
vecāks
revīzija
7f97bee0fd
1 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. +4
    -4
      test/run.sh

+ 4
- 4
test/run.sh Parādīt failu

@@ -5,16 +5,16 @@ dir="`dirname $0`"
top="$dir"/..

# setup.sh
sh "$top"/setup.sh shrc_common
sh "$top"/setup.sh help

# shrc
for sh in sh bash zsh
do
cat <<__EOC__ | $sh -si
. "$top"/shrc || exit 1
__EOC__
sh -n "$top"/shrc
done



# emacs
emacs --version
emacs -q --debug-init --batch --eval "(setq debug-on-error t)" --load "$top"/emacs.el --kill

Notiek ielāde…
Atcelt
Saglabāt