Just in case one creates a link to the silly perl script inside some other bin directory.
I am worried to use a non-standard perl module, which might not be installed everywhere. Is there a way to fallback to FindBin::Bin if the module is missing?
The patch would look like this:
diff --git a/bin/cilly b/bin/cilly
index 958c6b5..70471ff 100755
@@ -38,9 +38,8 @@
-use lib "$FindBin::Bin";
-use lib "$FindBin::Bin/../lib"; # The libraries are in the lib directory
+use lib $FindBin::Real::Bin() . "/../lib"; # The libraries are in the lib directory
# Read the configuration script
I finally figured it out. Next CIL release (1.7) should hopefully have a much better perl install script.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.