aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-07-12 23:06:53 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-07-14 11:29:10 +0200
commitd0e76cd8e8dd9d1cc70245f8c8ff4d5959409b96 (patch)
tree2cd9687cf171a8fe243b279cbe424850f21bb601 /gen_compile.sh
parentgen_funcs.sh: Strip 'function' keyword to match code style (diff)
downloadgenkernel-d0e76cd8e8dd9d1cc70245f8c8ff4d5959409b96.tar.gz
genkernel-d0e76cd8e8dd9d1cc70245f8c8ff4d5959409b96.tar.bz2
genkernel-d0e76cd8e8dd9d1cc70245f8c8ff4d5959409b96.zip
Replace backticks
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gen_compile.sh')
-rwxr-xr-xgen_compile.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/gen_compile.sh b/gen_compile.sh
index 86df33aa..ee4687ad 100755
--- a/gen_compile.sh
+++ b/gen_compile.sh
@@ -222,7 +222,7 @@ apply_patches() {
do
[ -f "${i}" ] || continue
patch_success=0
- for j in `seq 0 5`
+ for j in $(seq 0 5)
do
patch -p${j} --backup-if-mismatch -f < "${i}" --dry-run >/dev/null && \
patch ${silent}-p${j} --backup-if-mismatch -f < "${i}"
@@ -234,7 +234,7 @@ apply_patches() {
done
if [ ${patch_success} -eq 1 ]
then
- print_info 2 "$(getIndent 3) - `basename ${i}`"
+ print_info 2 "$(getIndent 3) - $(basename "${i}")"
else
gen_die "Failed to apply patch '${i}' for '${util}-${version}'!"
fi
@@ -284,7 +284,7 @@ compile_generic() {
case "${argstype}" in
kernel|kernelruntask)
- ARGS="`compile_kernel_args`"
+ ARGS="$(compile_kernel_args)"
if [[ "${ARGS}" = *O=* ]]
then
if [ -f "${KERNEL_DIR}/.config" -o -d "${KERNEL_DIR}/include/config" ]
@@ -301,7 +301,7 @@ compile_generic() {
fi
fi
;;
- utils) ARGS="`compile_utils_args`" ;;
+ utils) ARGS="$(compile_utils_args)" ;;
*) ARGS="" ;;
esac
shift 2