Try * instead of . to get zip to grab all the contents of a directory.

git-svn-id: svn://10.0.0.236/trunk@148009 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
nicolson%netscape.com
2003-10-16 03:28:19 +00:00
parent 2b84a18076
commit f155d7db1f

View File

@@ -195,7 +195,7 @@ sub build {
ensure_dir_exists($class_dir);
print_do("$javac $javac_opt_flag -sourcepath . -d $class_dir " .
"$classpath " . join(" ",@source_list));
print_do("cd $class_dir && rm -f $class_jar && zip -r $class_jar ./");
print_do("cd $class_dir && rm -f $class_jar && zip -r $class_jar *");
print "Exit status was " . ($?>>8) . "\n";
}