[Koha-patches] [PATCH] printoverdues.sh bash odities

Alex Arnaud alex.arnaud at biblibre.com
Mon Apr 4 16:20:03 CEST 2011


From: Sophie Meynieux <Sophie.Meynieux at biblibre.com>

set is obsolete
changing to variable=value
---
 misc/cronjobs/printoverdues.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/misc/cronjobs/printoverdues.sh b/misc/cronjobs/printoverdues.sh
index 6c7e2dc..f7b677e 100755
--- a/misc/cronjobs/printoverdues.sh
+++ b/misc/cronjobs/printoverdues.sh
@@ -27,7 +27,8 @@ then
 fi
 if [[ -n $2 && -f $2 ]]
 then
-    set $optpisa "--css $2";
+  #  set $optpisa "--css $2";
+    optpisa="--css $2";
 fi
 if [[ -n $3 ]]
 then
-- 
1.6.3.3



More information about the Koha-patches mailing list