Commit 7050433d authored by claes's avatar claes

Check if gif-files exist before inserting gifs in jar file

parent 294d9235
......@@ -125,7 +125,8 @@ $(export_lib) : $(objects)
$(rm) $(export_lib); \
fi
@ cd $(pwre_broot)/$(pwre_target)/bld; \
if [ $(comp_name) = "rt" ] || [ $(comp_name) = "rt_client" ]; then \
gifs=`eval ls jpwr/$(comp_name)/*.gif 2>/dev/null`; \
if [ "$(gifs)" = "" ]; then \
jar cf $(export_lib) jpwr/$(comp_name)/*.class; \
else \
jar cf $(export_lib) jpwr/$(comp_name)/*.class jpwr/$(comp_name)/*.gif; \
......@@ -136,3 +137,13 @@ $(export_lib) : $(objects)
endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment