summaryrefslogtreecommitdiff
path: root/kernel/sys_ni.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-06-09 11:16:34 +0900
committerMichal Marek <mmarek@suse.cz>2014-06-10 14:59:33 +0200
commitfd6e12423311697860f30d10398a0f9eb91977d2 (patch)
tree6e9bef52ea3e5c7ed02eef3d65fffbbec0e0f9a4 /kernel/sys_ni.c
parenta1323fd16350da0d3431926cfafda296f8ffd596 (diff)
scripts: objdiff: get the path to .tmp_objdiff more simply
This commit is a minor refactoring. Temporary files for objdiff are stored in .tmp_objdiff directory which is located at the top directory. To get the path to this directory, SRCTREE=`git rev-parse --show-toplevel` TMPD=$SRCTREE/.tmp_objdiff seems easier to understand than GIT_DIR=`git rev-parse --git-dir` TMPD=${GIT_DIR%git}tmp_objdiff Besides, it is not always necessary to create .tmp_objdiff dicrectory. It should be created only for "record" command. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'kernel/sys_ni.c')
0 files changed, 0 insertions, 0 deletions