Skip to content

Commit 01cd623

Browse files
authored
Merge pull request #9 from SloCompTech/develop
Fixed bug in hook
2 parents 46c59e4 + cb790c3 commit 01cd623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hooks/pre_build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
BUILD_ARCH=$(echo "${DOCKERFILE_PATH}" | cut -d '.' -f 3)
3+
BUILD_ARCH=$(echo "${DOCKERFILE_PATH}" | cut -d '.' -f 2)
44

55
if [ -z "$BUILD_ARCH" ] || [ "$BUILD_ARCH" == "amd64" ]; then
66
echo 'qemu-user-static: Registration not required for current arch';

0 commit comments

Comments
 (0)