Skip to content

Commit 68a3523

Browse files
DBLouisthe-maldridge
authored andcommitted
Fix linux version option format check
Closes: #144 [via git-merge-pr]
1 parent c8cb9a2 commit 68a3523

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mklive.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ XBPS_ARCH=$ARCH $XBPS_INSTALL_CMD -r "$VOIDHOSTDIR" ${XBPS_REPOSITORY} -S
375375
# Get linux version for ISO
376376
# If linux version option specified use
377377
if [ -n "$LINUX_VERSION" ]; then
378-
if ! echo "$LINUX_VERSION" | grep "linux[0-9._]*"; then
378+
if ! echo "$LINUX_VERSION" | grep "linux[0-9._]\+"; then
379379
die "-v option must be in format linux<version>"
380380
fi
381381

0 commit comments

Comments
 (0)