Skip to content

Commit 2c2fe00

Browse files
committed
Fix generate to tolerate arguments
1 parent f9ef96e commit 2c2fe00

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

generate-stackbrew-library.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ defaultVariant='apache'
77
self="$(basename "$BASH_SOURCE")"
88
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
99

10-
phpVersions=( "$@" )
11-
if [ ${#phpVersions[@]} -eq 0 ]; then
12-
phpVersions=( php*.*/ )
13-
fi
10+
phpVersions=( php*.*/ )
1411
phpVersions=( "${phpVersions[@]%/}" )
1512

1613
# get the most recent commit which modified any of "$@"

0 commit comments

Comments
 (0)