Browse Source

Fix bashism

Tianon Gravi 6 years ago
parent
commit
248e071388
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bashbrew/bashbrew-entrypoint.sh

+ 1 - 1
bashbrew/bashbrew-entrypoint.sh

@@ -1,7 +1,7 @@
 #!/bin/sh
 set -e
 
-if [ "${1:0:1}" = '-' ]; then
+if [ "${1#-}" != "$1" ]; then
 	set -- bashbrew "$@"
 fi