summaryrefslogtreecommitdiff
path: root/t/java-compile-run-nested.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/java-compile-run-nested.sh')
-rw-r--r--t/java-compile-run-nested.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/t/java-compile-run-nested.sh b/t/java-compile-run-nested.sh
index 26bebbf5e..b2a5fc7f9 100644
--- a/t/java-compile-run-nested.sh
+++ b/t/java-compile-run-nested.sh
@@ -45,8 +45,8 @@ cat > Makefile.am <<'END'
SUBDIRS = bin jprog tests
test-built:
- ls -l $(srcdir)/* ;: For debugging.
- test $(srcdir) = . || ls -l * ;: Likewise.
+ ls -l $(srcdir)/* # For debugging.
+ test $(srcdir) = . || ls -l * # Likewise.
test -f $(srcdir)/jprog/Main.java
test -f $(srcdir)/jprog/HelloStream.java
test -f $(srcdir)/jprog/PkgLocation.jin
@@ -57,14 +57,14 @@ test-built:
test -f jprog/classjprogclass.stamp
test-installed:
- ls -l $(jprogclassdir) ;: For debugging.
+ ls -l $(jprogclassdir) # For debugging.
test -f $(jprogclassdir)/HelloStream.class
test -f $(jprogclassdir)/Main.class
test -f $(jprogclassdir)/PkgLocation.class
if find $(prefix) | grep '\.stamp$$'; then exit 1; else :; fi
run-installed:
- jprog_doing_installcheck=yes $(MAKE) $(AM_MAKEFLAGS) check
+ jprog_doing_installcheck=yes $(MAKE) check
check-local: test-built
installcheck-local: test-installed run-installed
@@ -86,9 +86,9 @@ edit_script = sed -e 's|[@]JAVA@|$(JAVA)|g' \
jprog: jprog.sh
rm -f $@ $@-t
- $(edit_script) `test -f '$@.sh' || echo $(srcdir)/`$@.sh >$@-t
+ $(edit_script) $< >$@-t
chmod a-w $@-t && chmod a+x $@-t && mv -f $@-t $@
- sed 's/^/ | /' $@ ;: for debugging.
+ sed 's/^/ | /' $@ # For debugging.
EXTRA_DIST = jprog.sh
CLEANFILES = jprog