ctags/Tmain/run-as-etags.d/run.sh
raw| 1 | # Copyright: 2020 Masatake YAMATO |
| 2 | # License: GPL-2 |
| 3 | |
| 4 | CTAGS=$1 |
| 5 | BUILDDIR=$2 |
| 6 | |
| 7 | . ../utils.sh |
| 8 | |
| 9 | # on "Environment: compiler=msvc, ARCH=x64", we got following error: |
| 10 | # |
| 11 | # C:/projects/ctags/Tmain/run-as-etags.d/etags.exe: |
| 12 | # error while loading shared libraries: |
| 13 | # iconv.dll: cannot open shared object file: No such file or directory |
| 14 | exit_if_win32 "$CTAGS" |
| 15 | |
| 16 | etags=$BUILDDIR/etags |
| 17 | cp $1 $etags |
| 18 | |
| 19 | $etags --_force-quit |
| 20 | r=$? |
| 21 | |
| 22 | rm $etags |
| 23 | |
| 24 | exit $r |