Merge branch 'bugfix/bad-syntax-shell-script' into 'dev'

typo: used both [ ] and test in shell script

See merge request ligolang/ligo!41
This commit is contained in:
Georges Dupéron 2019-06-13 23:20:53 +00:00
commit ec4db9b01e

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
set -e set -e
if [ test "x$PWD" = "x" ]; then if test "x$PWD" = "x"; then
echo "Cannot detect the current directory, the environment variable PWD is empty." echo "Cannot detect the current directory, the environment variable PWD is empty."
exit 1 exit 1
else else