History

Revert "Fix freshness in the present .git case"

This reverts commit 362ef7fd6102384eebd8b2213446f3dbe91d86c6. One of the reasons is that past will only record that tree was dirty in the past, not how... (only make really knows that)

malc committed 6 years ago

Commit c54c7191 parent 362ef7f1 file · +1 −4Browse files

Unified · Split

build.bash+1−4
@@ -41,10 +41,7 @@ mbt=${mbt:-native} · 40 unmodified lines
4141 mulibst="$mudir/build/$mbt/libs"
4242 mulibs="$mudir/build/$mbt/libmupdf.a $mudir/build/$mbt/libmupdf-third.a"
4343
44−test -d $mudir/.git || keycmd="make -C $mudir -q build=$mbt libs" \
45− && keycmd="(cd $mudir >/dev/null; git describe --tags --dirty)"
46−
47−keycmd="$keycmd; digest $mulibs"
44+keycmd="make -C $mudir -q build=$mbt libs && digest $mulibs"
4845 isfresh "$mulibst" "$(eval $keycmd)" || (
4946 make -C "$mudir" build=$mbt -j $mjobs libs
5047 eval $keycmd >${mulibst}.past

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t