Skip to content

Commit

Permalink
fixed script to pass in just file name
Browse files Browse the repository at this point in the history
  • Loading branch information
T.j. Randall committed Aug 3, 2017
1 parent 4c4da06 commit e779a0d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -2,7 +2,7 @@ language: java
sudo: false
deploy:
provider: releases
file: build/libs/xld-sybase-plugin-1.0.5.jar
file: build/libs/xld-sybase-plugin-1.0.6.jar
skip_cleanup: true
on:
all_branches: true
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -7,7 +7,7 @@ apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'maven'
version='1.0.5'
version='1.0.6'

license {
header rootProject.file('License.md')
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/sql/SybaseClient.bat.ftl
Expand Up @@ -24,12 +24,12 @@ exit /B 1
<#else>
cd ${deployed.file.path}

${deployed.container.sybHome}\bin\isql.exe -S ${deployed.container.address} -D ${deployed.container.dbName} -U ${cmn.lookup('additionalOptions')!}${cmn.lookup('username')} -P ${cmn.lookup('additionalOptions')!}${cmn.lookup('password')} --retserverror -i @${sqlScriptToExecute}
${deployed.container.sybHome}\bin\isql.exe -S ${deployed.container.address} -D ${deployed.container.dbName} -U ${cmn.lookup('additionalOptions')!}${cmn.lookup('username')} -P ${cmn.lookup('additionalOptions')!}${cmn.lookup('password')} --retserverror -i ${sqlScriptToExecute}

set RES=%ERRORLEVEL%
if not %RES% == 0 (
exit %RES%
)

endlocal
</#if>
</#if>

0 comments on commit e779a0d

Please sign in to comment.