From 14a48e3cd853dd47ec898e69055d72b4bdb17fe1 Mon Sep 17 00:00:00 2001 From: Jesus Alvarez Date: Mon, 27 Jun 2016 20:56:07 -0700 Subject: [PATCH] build.sh: Use fullpath for git diff --- build.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index 4bbef86..9383eb8 100755 --- a/build.sh +++ b/build.sh @@ -132,7 +132,7 @@ git_calc_pkgver() { cmd+="mkdir temp && cd temp\\n" cmd+="git clone ../packages/${kernel_name}/${pkg}/${repo} && cd ${repo}\\n" cmd+="git checkout -b azb ${sha}\\n" - cmd+="EOF\\n" + cmd+="EOF" run_cmd_no_output_no_dry_run "${cmd}" # Get the version number past the last tag @@ -218,10 +218,10 @@ generate_package_files() { run_cmd_no_output "source ${script_dir}/src/zfs/zfs.install.sh" msg "Update diffs ..." - run_cmd "cd ${spl_utils_pkgbuild_path} && git --no-pager diff" - run_cmd "cd ${spl_pkgbuild_path} && git --no-pager diff" - run_cmd "cd ${zfs_utils_pkgbuild_path} && git --no-pager diff" - run_cmd "cd ${zfs_pkgbuild_path} && git --no-pager diff" + run_cmd "cd ${script_dir}/${spl_utils_pkgbuild_path} && git --no-pager diff" + run_cmd "cd ${script_dir}/${spl_pkgbuild_path} && git --no-pager diff" + run_cmd "cd ${script_dir}/${zfs_utils_pkgbuild_path} && git --no-pager diff" + run_cmd "cd ${script_dir}/${zfs_pkgbuild_path} && git --no-pager diff" }