From 053f40dbb654317fb1493b8f5697c3f9a8f24656 Mon Sep 17 00:00:00 2001 From: Manuel Rego Casasnovas Date: Mon, 3 Oct 2011 10:34:25 +0200 Subject: [PATCH] Fix issues in Ubuntu with REST scripts FEA: ItEr75S04BugFixing --- scripts/rest-clients/export-calendar-exception-types.sh | 2 +- scripts/rest-clients/export-calendars.sh | 2 +- scripts/rest-clients/export-cost-categories.sh | 2 +- scripts/rest-clients/export-criterion-types.sh | 2 +- scripts/rest-clients/export-label-types.sh | 2 +- scripts/rest-clients/export-material-categories.sh | 2 +- scripts/rest-clients/export-orders.sh | 2 +- scripts/rest-clients/export-resources.sh | 4 +--- scripts/rest-clients/export-type-work-hours.sh | 4 +--- scripts/rest-clients/export-unit-types.sh | 2 +- scripts/rest-clients/export-work-reports.sh | 2 +- scripts/rest-clients/import-calendar-exception-types.sh | 2 +- scripts/rest-clients/import-calendars.sh | 2 +- scripts/rest-clients/import-cost-categories.sh | 2 +- scripts/rest-clients/import-criterions-types.sh | 2 +- scripts/rest-clients/import-label-types.sh | 2 +- scripts/rest-clients/import-material-categories.sh | 2 +- scripts/rest-clients/import-orders.sh | 2 +- scripts/rest-clients/import-resources.sh | 2 +- scripts/rest-clients/import-type-work-hours.sh | 2 +- scripts/rest-clients/import-unit-types.sh | 2 +- scripts/rest-clients/import-work-reports.sh | 2 +- scripts/rest-clients/import.sh | 0 23 files changed, 22 insertions(+), 26 deletions(-) mode change 100644 => 100755 scripts/rest-clients/import.sh diff --git a/scripts/rest-clients/export-calendar-exception-types.sh b/scripts/rest-clients/export-calendar-exception-types.sh index e6ed4b167..ce433844f 100755 --- a/scripts/rest-clients/export-calendar-exception-types.sh +++ b/scripts/rest-clients/export-calendar-exception-types.sh @@ -1,3 +1,3 @@ #!/bin/sh -. ./export.sh calendarexceptiontypes $* +./export.sh calendarexceptiontypes $* diff --git a/scripts/rest-clients/export-calendars.sh b/scripts/rest-clients/export-calendars.sh index a04e3a5ee..265d6f810 100755 --- a/scripts/rest-clients/export-calendars.sh +++ b/scripts/rest-clients/export-calendars.sh @@ -1,3 +1,3 @@ #!/bin/sh -. ./export.sh calendars $* +./export.sh calendars $* diff --git a/scripts/rest-clients/export-cost-categories.sh b/scripts/rest-clients/export-cost-categories.sh index a0645d5ae..98c9b4c50 100755 --- a/scripts/rest-clients/export-cost-categories.sh +++ b/scripts/rest-clients/export-cost-categories.sh @@ -1,3 +1,3 @@ #!/bin/sh -. ./export.sh costcategories $* +./export.sh costcategories $* diff --git a/scripts/rest-clients/export-criterion-types.sh b/scripts/rest-clients/export-criterion-types.sh index 5db4a777d..d86e34881 100755 --- a/scripts/rest-clients/export-criterion-types.sh +++ b/scripts/rest-clients/export-criterion-types.sh @@ -1,3 +1,3 @@ #!/bin/sh -. ./export.sh criteriontypes $* +./export.sh criteriontypes $* diff --git a/scripts/rest-clients/export-label-types.sh b/scripts/rest-clients/export-label-types.sh index a3afbf65a..809f4a1d2 100755 --- a/scripts/rest-clients/export-label-types.sh +++ b/scripts/rest-clients/export-label-types.sh @@ -1,3 +1,3 @@ #!/bin/sh -. ./export.sh labels $* +./export.sh labels $* diff --git a/scripts/rest-clients/export-material-categories.sh b/scripts/rest-clients/export-material-categories.sh index 1a8ef07ba..8b2e32635 100755 --- a/scripts/rest-clients/export-material-categories.sh +++ b/scripts/rest-clients/export-material-categories.sh @@ -1,3 +1,3 @@ #!/bin/sh -. ./export.sh materialcategories $* +./export.sh materialcategories $* diff --git a/scripts/rest-clients/export-orders.sh b/scripts/rest-clients/export-orders.sh index 677a0e08c..ec8d41c6a 100755 --- a/scripts/rest-clients/export-orders.sh +++ b/scripts/rest-clients/export-orders.sh @@ -1,3 +1,3 @@ #!/bin/sh -. ./export.sh orderelements $* +./export.sh orderelements $* diff --git a/scripts/rest-clients/export-resources.sh b/scripts/rest-clients/export-resources.sh index d6e83617f..c593ff19b 100755 --- a/scripts/rest-clients/export-resources.sh +++ b/scripts/rest-clients/export-resources.sh @@ -1,5 +1,3 @@ #!/bin/sh -. ./rest-common-env.sh - -. ./export.sh resources $* +./export.sh resources $* diff --git a/scripts/rest-clients/export-type-work-hours.sh b/scripts/rest-clients/export-type-work-hours.sh index 41f809cb4..78f3389ec 100755 --- a/scripts/rest-clients/export-type-work-hours.sh +++ b/scripts/rest-clients/export-type-work-hours.sh @@ -1,5 +1,3 @@ #!/bin/sh -. ./rest-common-env.sh - -. ./export.sh typeofworkhours $* +./export.sh typeofworkhours $* diff --git a/scripts/rest-clients/export-unit-types.sh b/scripts/rest-clients/export-unit-types.sh index efc107006..db26b196e 100755 --- a/scripts/rest-clients/export-unit-types.sh +++ b/scripts/rest-clients/export-unit-types.sh @@ -1,3 +1,3 @@ #!/bin/sh -. ./export.sh unittypes $* +./export.sh unittypes $* diff --git a/scripts/rest-clients/export-work-reports.sh b/scripts/rest-clients/export-work-reports.sh index 67b6624fd..ee0485f86 100755 --- a/scripts/rest-clients/export-work-reports.sh +++ b/scripts/rest-clients/export-work-reports.sh @@ -1,3 +1,3 @@ #!/bin/sh -. ./export.sh workreports $* +./export.sh workreports $* diff --git a/scripts/rest-clients/import-calendar-exception-types.sh b/scripts/rest-clients/import-calendar-exception-types.sh index f87c8acd1..dbf913491 100755 --- a/scripts/rest-clients/import-calendar-exception-types.sh +++ b/scripts/rest-clients/import-calendar-exception-types.sh @@ -1,3 +1,3 @@ #!/bin/sh -. ./import.sh calendarexceptiontypes $* +./import.sh calendarexceptiontypes $* diff --git a/scripts/rest-clients/import-calendars.sh b/scripts/rest-clients/import-calendars.sh index c675967c3..61f6091ce 100755 --- a/scripts/rest-clients/import-calendars.sh +++ b/scripts/rest-clients/import-calendars.sh @@ -1,3 +1,3 @@ #!/bin/sh -. ./import.sh calendars $* +./import.sh calendars $* diff --git a/scripts/rest-clients/import-cost-categories.sh b/scripts/rest-clients/import-cost-categories.sh index 9415e0e02..c34017117 100755 --- a/scripts/rest-clients/import-cost-categories.sh +++ b/scripts/rest-clients/import-cost-categories.sh @@ -1,3 +1,3 @@ #!/bin/sh -. ./import.sh costcategories $* +./import.sh costcategories $* diff --git a/scripts/rest-clients/import-criterions-types.sh b/scripts/rest-clients/import-criterions-types.sh index c6621bdbb..50a29487e 100755 --- a/scripts/rest-clients/import-criterions-types.sh +++ b/scripts/rest-clients/import-criterions-types.sh @@ -1,3 +1,3 @@ #!/bin/sh -. ./import.sh criteriontypes $* +./import.sh criteriontypes $* diff --git a/scripts/rest-clients/import-label-types.sh b/scripts/rest-clients/import-label-types.sh index 7533f9c29..30e93b8af 100755 --- a/scripts/rest-clients/import-label-types.sh +++ b/scripts/rest-clients/import-label-types.sh @@ -1,3 +1,3 @@ #!/bin/sh -. ./import.sh labels $* +./import.sh labels $* diff --git a/scripts/rest-clients/import-material-categories.sh b/scripts/rest-clients/import-material-categories.sh index 7f9cb1539..a0299c486 100755 --- a/scripts/rest-clients/import-material-categories.sh +++ b/scripts/rest-clients/import-material-categories.sh @@ -1,3 +1,3 @@ #!/bin/sh -. ./import.sh materialcategories $* +./import.sh materialcategories $* diff --git a/scripts/rest-clients/import-orders.sh b/scripts/rest-clients/import-orders.sh index 0164f4bac..9b9b18d64 100755 --- a/scripts/rest-clients/import-orders.sh +++ b/scripts/rest-clients/import-orders.sh @@ -1,3 +1,3 @@ #!/bin/sh -. ./import.sh orderelements $* +./import.sh orderelements $* diff --git a/scripts/rest-clients/import-resources.sh b/scripts/rest-clients/import-resources.sh index ba59f5b6d..4d09c1206 100755 --- a/scripts/rest-clients/import-resources.sh +++ b/scripts/rest-clients/import-resources.sh @@ -1,3 +1,3 @@ #!/bin/sh -. ./import.sh resources $* +./import.sh resources $* diff --git a/scripts/rest-clients/import-type-work-hours.sh b/scripts/rest-clients/import-type-work-hours.sh index 008e198c9..e7d0562f9 100755 --- a/scripts/rest-clients/import-type-work-hours.sh +++ b/scripts/rest-clients/import-type-work-hours.sh @@ -1,3 +1,3 @@ #!/bin/sh -. ./import.sh typeofworkhours $* +./import.sh typeofworkhours $* diff --git a/scripts/rest-clients/import-unit-types.sh b/scripts/rest-clients/import-unit-types.sh index aef049fc8..7eecd195b 100755 --- a/scripts/rest-clients/import-unit-types.sh +++ b/scripts/rest-clients/import-unit-types.sh @@ -1,3 +1,3 @@ #!/bin/sh -. ./import.sh unittypes $* +./import.sh unittypes $* diff --git a/scripts/rest-clients/import-work-reports.sh b/scripts/rest-clients/import-work-reports.sh index 2ae2be015..2f960ae34 100755 --- a/scripts/rest-clients/import-work-reports.sh +++ b/scripts/rest-clients/import-work-reports.sh @@ -1,3 +1,3 @@ #!/bin/sh -. ./import.sh workreports $* +./import.sh workreports $* diff --git a/scripts/rest-clients/import.sh b/scripts/rest-clients/import.sh old mode 100644 new mode 100755