summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2006-08-18 19:45:03 +0000
committerTom Tromey <tromey@redhat.com>2006-08-18 19:45:03 +0000
commit33b0c102051959494935b5ff617f6f53cc25c7ee (patch)
treec2882e5323b4487237f99616db199a59ed828cdc /lib
parentf58c8ab0ac724e9c976ee2df975cddf3cf398c96 (diff)
downloadclasspath-33b0c102051959494935b5ff617f6f53cc25c7ee.tar.gz
2006-08-18 Roger Sayle <roger@eyesopen.com>
* lib/Makefile.am (resources): Fix some shell portability issues.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index fc1081d03..b1794675e 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -103,12 +103,12 @@ glibj.zip: classes compile-classes resources
endif # USE_PREBUILT_GLIBJ_ZIP
resources: copy-vmresources.sh
- if ! [ -e gnu ]; then mkdir gnu; fi
- if ! [ -e gnu/java ]; then mkdir gnu/java; fi
- if ! [ -e gnu/java/locale ]; then mkdir gnu/java/locale; fi
- if ! [ -e gnu/javax/swing/plaf/gtk/icons ]; then mkdir -p gnu/javax/swing/plaf/gtk/icons; fi
+ if ! test -d gnu; then mkdir gnu; fi
+ if ! test -d gnu/java; then mkdir gnu/java; fi
+ if ! test -d gnu/java/locale; then mkdir gnu/java/locale; fi
+ if ! test -d gnu/javax/swing/plaf/gtk/icons; then mkdir -p gnu/javax/swing/plaf/gtk/icons; fi
@list='$(propertydirs)'; for p in $$list; do \
- if ! [ -e $$p ]; then mkdir $$p; fi; \
+ if ! test -d $$p; then mkdir $$p; fi; \
done
@list='$(propertyfiles)'; for p in $$list; do \
cp $(top_srcdir)/resource/$$p $$p; \