Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3c51471

Browse files
authored
Merge pull request #2 from jgebal/project_path
Updated scripts to use bin/bash
2 parents a44772d + ccd4306 commit 3c51471

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

client_source/sqlplus/file_list

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22
set -e
33

44
clientPath=${1%/}

client_source/sqlplus/ut_run

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22
set -e
33

44
# Not forget to convert line endings to Unix.
@@ -14,7 +14,7 @@ if [ "$clientDir" != "${clientDir% *}" ]; then
1414
exit 1
1515
fi
1616

17-
if [ -z "$@" ]; then
17+
if [[ "$#" -eq 0 ]] ; then
1818
echo "Usage: ut_run user/password@database [options...]"
1919
exit 1
2020
fi

0 commit comments

Comments
 (0)