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

Skip to content

Commit 1b2abdf

Browse files
committed
Fix string comparison and line endings for linux
1 parent 7cdeafa commit 1b2abdf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

client_source/sqlplus/file_list

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fi
2323
fullOutPath="$clientPath/$outFileName"
2424
fullScanPath="$projectPath/$scanPath"
2525

26-
# If scan path was -, bypass the file list generation.
26+
# If scan path is "-", bypass the file list generation.
2727
if [ "$scanPath" == "-" ]; then
2828
echo "begin" > $fullOutPath
2929
echo " open :$sqlParamName for select null from dual;" >> $fullOutPath

client_source/sqlplus/ut_run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if [ ! "$clientDir" == "${clientDir/ /}" ]; then
99
exit 1
1010
fi
1111

12-
if [ "$@" == "" ]; then
12+
if [ -z "$@" ]; then
1313
echo "Usage: ut_run user/password@database [options...]"
1414
exit 1
1515
fi

0 commit comments

Comments
 (0)