File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 55
55
)
56
56
done
57
57
58
- tests= jobs= oldtest= with_dash = testpen=
58
+ tests= jobs= oldtest= with_shell = testpen=
59
59
clean=:
60
60
61
61
determine_branch () {
140
140
GIT_TEST_LONG=YesPlease
141
141
export GIT_TEST_LONG
142
142
;;
143
+ --bash)
144
+ with_shell=/bin/bash
145
+ ;;
143
146
--dash)
144
- with_dash=y
147
+ with_shell=/bin/dash
148
+ ;;
149
+ --ksh)
150
+ with_shell=/bin/ksh
145
151
;;
146
152
--)
147
153
shift
176
182
export GIT_TEST_OPTS
177
183
fi
178
184
179
- test -f /bin/dash || with_dash=
180
-
181
185
if test -z " $oldtest " &&
182
186
sh -c ' prove --version >/dev/null 2>&1' &&
183
187
sh -c ' prove --exec : >/dev/null 2>&1'
@@ -209,9 +213,9 @@ clean="$clean; rm -f version"
209
213
determine_long_version > version
210
214
211
215
set " prefix=$prefix " " $@ "
212
- if test -n " $with_dash " && test -f /bin/dash
216
+ if test -n " $with_shell " && test -f " $with_shell "
213
217
then
214
- set " SHELL_PATH=/bin/dash " " $@ "
218
+ set " SHELL_PATH=$with_shell " " $@ "
215
219
fi
216
220
217
221
if grep > /dev/null DC_SHA1 Makefile
You can’t perform that action at this time.
0 commit comments