bin/pg_format

changeset 915
55a1c83b3417
parent 912
a409a606c665
child 932
f87943eb16aa
equal deleted inserted replaced
914:54729706345b 915:55a1c83b3417
1 #!/bin/sh 1 #!/bin/sh
2 set -eu 2 set -eu
3 3 . ~/.lib/sh/stubexec.sh
4 stubexec() {
5 local real_bin="$(which -a $(basename $0) | grep -v $0 | head -n 1)"
6 if [ -x "$real_bin" ]; then
7 exec $real_bin $*
8 fi
9 }
10 4
11 stubexec $* 5 stubexec $*
12 6
13 cpanm -n 'https://github.com/darold/pgFormatter.git' 7 cpanm -n 'https://github.com/darold/pgFormatter.git'
14 plenv rehash 8 plenv rehash || :
15 9
16 stubexec $* 10 stubexec $*

mercurial