Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122970
b: refs/heads/master
c: d03fab4
h: refs/heads/master
v: v3
  • Loading branch information
Mike Frysinger authored and Sam Ravnborg committed Dec 3, 2008
1 parent 82e427f commit 2a30a2e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d8672b40d3a6f17de5b5bc71d6e531d7576a856a
refs/heads/master: d03fab43c5ba4f5fa46db73c937e9b993a531d27
6 changes: 4 additions & 2 deletions trunk/scripts/mkcompile_h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ SMP=$3
PREEMPT=$4
CC=$5

vecho() { [ "${quiet}" = "silent_" ] || echo "$@" ; }

# If compile.h exists already and we don't own autoconf.h
# (i.e. we're not the same user who did make *config), don't
# modify compile.h
# So "sudo make install" won't change the "compiled by <user>"
# do "compiled by root"

if [ -r $TARGET -a ! -O include/linux/autoconf.h ]; then
echo " SKIPPED $TARGET"
vecho " SKIPPED $TARGET"
exit 0
fi

Expand Down Expand Up @@ -89,7 +91,7 @@ if [ -r $TARGET ] && \
cmp -s .tmpver.1 .tmpver.2; then
rm -f .tmpcompile
else
echo " UPD $TARGET"
vecho " UPD $TARGET"
mv -f .tmpcompile $TARGET
fi
rm -f .tmpver.1 .tmpver.2

0 comments on commit 2a30a2e

Please sign in to comment.