Skip to content

Commit

Permalink
resolve missing double-quote issue on Windows Server 2016
Browse files Browse the repository at this point in the history
  • Loading branch information
eschen42 committed Aug 25, 2021
1 parent 6153cfc commit 6168a0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions bin/smudge.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -63,19 +63,21 @@ popd
echo %ECHO_ON%

:: You can un-comment out the next echo line if you run your programs by
:: double-cliking and don't want the window to close immedately
:: double-clicking and don't want the window to close immedately
:: after the program finishes.
:: echo pause>> %SMUDGE%

move /y "%ARG1%%ARG1x%" "%ARG1%.%SMUDGE%" >NUL
copy /y %ARG1dir%%SMUDGE% "%ARG1long%.bat" >NUL
type "%ARG1%.%SMUDGE%" >> "%ARG1long%.bat"
:: @echo on
if "%ARG1X%" == ".exe" (
del %ARG1DIR%%SMUDGE% %ARG1%.%SMUDGE%
del %ARG1DIR%%SMUDGE% "%ARG1%.%SMUDGE%"
) else (
del %ARG1DIR%%SMUDGE%
move %ARG1%.%SMUDGE% %ARG1%%ARG1x% >NUL
move "%ARG1%.%SMUDGE%" "%ARG1%%ARG1x%" >NUL
)
@echo %ECHO_ON%
if not defined ARG2 exit/b 0

set STANDALONE=0
Expand Down
2 changes: 1 addition & 1 deletion src/conda_build_portableIcon_release.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
pushd %~dps0
set ZIPDIR=%CD:\=/%
set BUILD_NUMBER=0
set SOURCE_REVISION=rev5
set SOURCE_REVISION=rev6
set RELEASE_TAG=v9.5.2_conda_%BUILD_NUMBER%_%SOURCE_REVISION%
:: set RELEASE_ZIP=https://github.com/eschen42/portableIcon/archive/{git_sha}.zip
:: set RELEASE_ZIP=https://github.com/eschen42/portableIcon/archive/refs/heads/{branch}.zip
Expand Down

0 comments on commit 6168a0c

Please sign in to comment.