You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by di...@fast.au.fujitsu.com on 2013/03/15 14:02:41 UTC

[PATCH] Added batch file that invokes deltacloud-db-upgrade script on Windows

From: Dies Koper <di...@fast.au.fujitsu.com>

---
 server/bin/.gitattributes            | 3 ++-
 server/bin/deltacloud-db-upgrade.bat | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
 create mode 100644 server/bin/deltacloud-db-upgrade.bat

diff --git a/server/bin/.gitattributes b/server/bin/.gitattributes
index 744c27c..09cf277 100644
--- a/server/bin/.gitattributes
+++ b/server/bin/.gitattributes
@@ -1 +1,2 @@
-deltacloudd -crlf
\ No newline at end of file
+deltacloudd -crlf
+deltacloud-db-upgrade -crlf
\ No newline at end of file
diff --git a/server/bin/deltacloud-db-upgrade.bat b/server/bin/deltacloud-db-upgrade.bat
new file mode 100644
index 0000000..b3b6793
--- /dev/null
+++ b/server/bin/deltacloud-db-upgrade.bat
@@ -0,0 +1 @@
+@ruby "%~dp0deltacloud-db-upgrade" %*
-- 
1.8.0.msysgit.0



Re: [PATCH] Added batch file that invokes deltacloud-db-upgrade script on Windows

Posted by Michal Fojtik <mf...@redhat.com>.
On 03/15/2013 02:02 PM, diesk@fast.au.fujitsu.com wrote:

ACK. Good catch, we completely forgot about Windows.

   -- Michal

> From: Dies Koper <di...@fast.au.fujitsu.com>
>
> ---
>   server/bin/.gitattributes            | 3 ++-
>   server/bin/deltacloud-db-upgrade.bat | 1 +
>   2 files changed, 3 insertions(+), 1 deletion(-)
>   create mode 100644 server/bin/deltacloud-db-upgrade.bat
>
> diff --git a/server/bin/.gitattributes b/server/bin/.gitattributes
> index 744c27c..09cf277 100644
> --- a/server/bin/.gitattributes
> +++ b/server/bin/.gitattributes
> @@ -1 +1,2 @@
> -deltacloudd -crlf
> \ No newline at end of file
> +deltacloudd -crlf
> +deltacloud-db-upgrade -crlf
> \ No newline at end of file
> diff --git a/server/bin/deltacloud-db-upgrade.bat b/server/bin/deltacloud-db-upgrade.bat
> new file mode 100644
> index 0000000..b3b6793
> --- /dev/null
> +++ b/server/bin/deltacloud-db-upgrade.bat
> @@ -0,0 +1 @@
> +@ruby "%~dp0deltacloud-db-upgrade" %*
>


-- 

Michal Fojtik <mf...@redhat.com>
Deltacloud API, CloudForms