Skip to content
Permalink
Browse files

Remove two needless uses of bash

sh can do this just as well, so don't require bash needlessly.
  • Loading branch information...
patzim committed Apr 6, 2019
1 parent bb7e609 commit 11c55fb883a9685c696b27b9ec0b5ccfafb55391
Showing with 3 additions and 3 deletions.
  1. +2 −2 README.md
  2. +1 −1 tools/build/Makefile-Moar.in
@@ -121,10 +121,10 @@ run the spectests. For example:

$ make t/spec/S12-traits/parameterized.t

Run all tests in one S* directory with a bash script. One example:
Run all tests in one S* directory with a sh script. One example:

$ cat run-tests.sh
#!/bin/bash
#!/bin/sh

# specify the desired directory:
D='t/spec/S26-documentation'
@@ -348,7 +348,7 @@ manifest:

release: manifest
[ -n "$(VERSION)" ] || ( echo "\nTry 'make release VERSION=yyyy.mm'\n\n"; exit 1 )
bash -c '[ "$$(cat VERSION)" == "$(VERSION)" ] || ( echo -e "\nVersion on command line and in VERSION file differ\n"; exit 1 )'
sh -c '[ "$$(cat VERSION)" == "$(VERSION)" ] || ( echo -e "\nVersion on command line and in VERSION file differ\n"; exit 1 )'
[ -d rakudo-$(VERSION) ] || ln -s . rakudo-$(VERSION)
$(M_RUN_PERL6) -ne 'say "rakudo-$(VERSION)/$$_"' MANIFEST | \
tar -zcv --owner=0 --group=0 --numeric-owner -T - -f rakudo-$(VERSION).tar.gz

0 comments on commit 11c55fb

Please sign in to comment.
You can’t perform that action at this time.