mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-26 04:07:45 +03:00
Allow copy-builtin to work with modified sources
`scripts/make_gitrev.sh` had 'set -e' so if any command failed it would fail and cause copy-builtin to fail (copy-builtin also has `set -e`. This commit also simplifies scripts/make_gitrev.sh to always write a file by using a cleanup function. It also simplifies other areas of the script as well (making it much shorter). Reviewed-by: John Kennedy <john.kennedy@delphix.com> Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Matthew Thode <mthode@mthode.org> Closes #8022 Closes #8025
This commit is contained in:
committed by
Brian Behlendorf
parent
2e55034471
commit
8d43194003
+1
-1
@@ -30,7 +30,7 @@ then
|
||||
fi
|
||||
|
||||
make clean || true
|
||||
scripts/make_gitrev.sh
|
||||
scripts/make_gitrev.sh || true
|
||||
|
||||
rm -rf "$KERNEL_DIR/include/zfs" "$KERNEL_DIR/fs/zfs"
|
||||
cp --recursive include "$KERNEL_DIR/include/zfs"
|
||||
|
||||
Reference in New Issue
Block a user