Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
--- pdfstudio8.orig 2014-05-27 23:49:32.599567032 +0200
+++ pdfstudio8 2014-05-27 23:49:50.919524949 +0200
@@ -344,27 +344,27 @@
i4j_classpath="$app_home/.install4j/i4jruntime.jar"
local_classpath=""
add_class_path "$i4j_classpath"
-for i in `ls "$app_home/lib" 2> /dev/null | egrep "\.(jar$|zip$)"`
+for i in `ls "$app_home/lib" 2> /dev/null | egrep ".(jar$|zip$)"`
do
add_class_path "$app_home/lib/$i"
done
-for i in `ls "$app_home/lib/acrobat" 2> /dev/null | egrep "\.(jar$|zip$)"`
+for i in `ls "$app_home/lib/acrobat" 2> /dev/null | egrep ".(jar$|zip$)"`
do
add_class_path "$app_home/lib/acrobat/$i"
done
-for i in `ls "$app_home/lib/googledocs" 2> /dev/null | egrep "\.(jar$|zip$)"`
+for i in `ls "$app_home/lib/googledocs" 2> /dev/null | egrep ".(jar$|zip$)"`
do
add_class_path "$app_home/lib/googledocs/$i"
done
-for i in `ls "$app_home/lib/jaxb" 2> /dev/null | egrep "\.(jar$|zip$)"`
+for i in `ls "$app_home/lib/jaxb" 2> /dev/null | egrep ".(jar$|zip$)"`
do
add_class_path "$app_home/lib/jaxb/$i"
done
-for i in `ls "$app_home/lib/swt" 2> /dev/null | egrep "\.(jar$|zip$)"`
+for i in `ls "$app_home/lib/swt" 2> /dev/null | egrep ".(jar$|zip$)"`
do
add_class_path "$app_home/lib/swt/$i"
done
-for i in `ls "$app_home/lib/dj" 2> /dev/null | egrep "\.(jar$|zip$)"`
+for i in `ls "$app_home/lib/dj" 2> /dev/null | egrep ".(jar$|zip$)"`
do
add_class_path "$app_home/lib/dj/$i"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.