Tianon Gravi 6 年 前
コミット
248e071388
1 ファイル変更1 行追加1 行削除
  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