OSDN Git Service

Don't assume that /bin/true is always in /bin
authorTheodore Ts'o <tytso@mit.edu>
Mon, 14 Jul 2008 21:47:52 +0000 (17:47 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 14 Jul 2008 21:47:52 +0000 (17:47 -0400)
... because it isn't on MacOS X

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
config/parse-types.sh
lib/ss/Makefile.in

index 0887054..d7cb9cc 100755 (executable)
@@ -109,7 +109,7 @@ EOF
 ${BUILD_CC-${CC-gcc}} -o asm_types asm_types.c
 if ./asm_types
 then
-    /bin/true
+    true
 else
     echo "Problem detected with asm_types.h"
     echo "" > asm_types.h
index 3581bd9..3f8f768 100644 (file)
@@ -172,7 +172,7 @@ check:: all test_ss
        @echo " RUN TEST test_ss"
        -@(LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./test_ss -f $(srcdir)/test_script > test_out 2>&1; exit 0)
        @if diff test_out $(srcdir)/test_script_expected > test.diff; then \
-               /bin/true ; else echo "Regression test for ss library failed!"; exit 1 ; fi
+               true ; else echo "Regression test for ss library failed!"; exit 1 ; fi
 
 clean::
        $(RM) -f ../libss.a libss.a mk_cmds ss_err.h ss_err.c std_rqs.c \