Skip to content
Snippets Groups Projects
Commit a7da4765 authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Avoid error output from ls.

Rev: src/precompile.sh.in:1.18
parent e1be4f02
Branches
Tags
No related merge requests found
...@@ -10,12 +10,12 @@ shift 1 ...@@ -10,12 +10,12 @@ shift 1
INPUT="`eval echo \"\\$$#\"`" INPUT="`eval echo \"\\$$#\"`"
TMPOUTPUT="${INPUT}.compiled" TMPOUTPUT="${INPUT}.compiled"
if [ -f "$TMPOUTPUT" -a \ if [ -f "$TMPOUTPUT" ]; then
"`ls -1t $TMPOUTPUT $INPUT $SCRIPT | head -1`" = "`ls -1t $TMPOUTPUT`" \ if [ "`ls -1t $TMPOUTPUT $INPUT $SCRIPT | head -1`" = "`ls -1t $TMPOUTPUT`" ]; then
]; then
cat "$TMPOUTPUT" >&5 cat "$TMPOUTPUT" >&5
exit 0 exit 0
fi fi
fi
TMP_BUILDDIR="@BUILDDIR@" TMP_BUILDDIR="@BUILDDIR@"
TMP_BINDIR="@BINDIR@" TMP_BINDIR="@BINDIR@"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment