Skip to content

Commit 21a09be

Browse files
committed
remove bashism
1 parent 9e4afaa commit 21a09be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/indent/run.sh

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

33
for i in test???; do
4-
pushd $i > /dev/null
4+
cd $i
55
nvim --headless -s test.vim test.hs 2> /dev/null
66
diff expected.hs result.hs
77
if [ $? -eq 0 ]; then
@@ -11,5 +11,5 @@ for i in test???; do
1111
echo "$(basename $PWD) failed"
1212
exit 1
1313
fi
14-
popd > /dev/null
14+
cd ..
1515
done

0 commit comments

Comments
 (0)