mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 07:23:04 +01:00
Improve check for FBBUILD_FILENAME_SUFFIX env var
This commit is contained in:
parent
ed8c087fac
commit
6dab6f6f2a
@ -47,7 +47,9 @@ set /A FBBUILD_PACKAGE_NUMBER+=1
|
||||
|
||||
::If a suffix is defined (usually for an RC) ensure it is prefixed correctly.
|
||||
if defined FBBUILD_FILENAME_SUFFIX (
|
||||
if not %FBBUILD_FILENAME_SUFFIX:~0,1% == _ (set FBBUILD_FILENAME_SUFFIX=_%FBBUILD_FILENAME_SUFFIX%)
|
||||
if not "%FBBUILD_FILENAME_SUFFIX:~0,1%"=="_" (
|
||||
(set FBBUILD_FILENAME_SUFFIX=_%FBBUILD_FILENAME_SUFFIX%)
|
||||
)
|
||||
)
|
||||
|
||||
:: See what we have on the command line
|
||||
|
Loading…
Reference in New Issue
Block a user