We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ebdd5d9 + 3e4aa95 commit ebaa5d3Copy full SHA for ebaa5d3
kpatch-build/kpatch-build
@@ -385,7 +385,9 @@ for i in $FILES; do
385
KOBJFILE="$(readlink -f $KOBJFILE)"
386
fi
387
cd $TEMPDIR
388
- "$TOOLSDIR"/create-diff-object "orig/$i" "patched/$i" "$KOBJFILE" "output/$i" 2>&1 |tee -a "$LOGFILE"
+ debugopt=
389
+ [[ $DEBUG -eq 1 ]] && debugopt=-d
390
+ "$TOOLSDIR"/create-diff-object $debugopt "orig/$i" "patched/$i" "$KOBJFILE" "output/$i" 2>&1 |tee -a "$LOGFILE"
391
[[ "${PIPESTATUS[0]}" -eq 0 ]] || die
392
done
393
0 commit comments