aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcommon.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.sh b/common.sh
index afa141b..1ccd72c 100755
--- a/common.sh
+++ b/common.sh
@@ -77,7 +77,7 @@ build_kernel()
# Build
run_cmd $MAKE >/dev/null
- if [ "$ID_LIKE" = "debian" ]; then
+ if [ "$ID" = "debian" ] || [ "$ID_LIKE" = "debian" ]; then
run_cmd $MAKE bindeb-pkg
else
run_cmd $MAKE "RPMOPTS='--define \"_rpmdir .\"'" binrpm-pkg