Skip to content

Commit cc9ced2

Browse files
matthiasdienerrbuch
authored andcommitted
bin/projections: check for projections.jar
1 parent 8bc7ed2 commit cc9ced2

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

bin/projections

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
jarpath="`dirname $0`/projections.jar"
44

5+
if [[ ! -f $jarpath ]]; then
6+
echo "'$jarpath' is missing. Did you run 'make'?"
7+
exit 1
8+
fi
9+
510
if test -x /usr/bin/cygpath
6-
then
11+
then
712
if test "`uname -o`" = "Cygwin"
813
then
914
jarpath=`/usr/bin/cygpath -w -a $jarpath`
10-
fi
15+
fi
1116
fi
1217

1318
IS_WAYLAND=`env | grep -i wayland`

0 commit comments

Comments
 (0)