Skip to content

Commit bad7377

Browse files
committed
.bat-files: add '-use-full-path' parameter support.
It's convenient to use this parameter in shortcut rather than modify bat-file with changes than will be lost on next update.
1 parent 7b3055f commit bad7377

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

filesystem/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ sha256sums=('6d651f6b0b2d173961a3fa21acd9d44c783ed9cd73a031687698c8b9ed1f6dee'
5252
'b896abbbd7187184045e42e2646d4cb25f5484a27558f780137c7ec9ca9bdc47'
5353
'50c3746d621e682e3560e1b37cc1ac5d988460064a20ed15f107c203ac5ad622'
5454
'9620bdf1c82ea3f14c3553c44a2006ea61ff3f5a775a2a053130a59cc186daf5'
55-
'5137f56e2bbdf51cca60f1f8033aeda7f383e3dc86b2ad0fa1c6b732b91866bc'
55+
'15e6605867d891c0cc64ed3506280bc9d391d52475471a39cd809e6de289d91d'
5656
'147773db7cb87fe09f735b5f47ff0dc3e1ffb8bf3149a51636341f7f61feec11'
5757
'fd6d475058e122823aa8665d8c8bf6bde251524fbba954c1f1c941c10ea46f7f'
5858
'eae2795591117fd3d7665d94a7b1827e13176580bc5a16d65350c584df5aaa7e'

filesystem/start_shell.cmd

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ rem set MSYS=winsymlinks:nativestrict
99
rem Set debugging program for errors
1010
rem set MSYS=error_start:%WD%../../mingw64/bin/qtcreator.exe^|-debug^|^<process-id^>
1111

12-
rem To export full current PATH from environment into MSYS2 uncomment next line
12+
rem To export full current PATH from environment into MSYS2 use '-use-full-path' parameter
13+
rem or uncomment next line
1314
rem set SET_FULL_PATH=1
1415

1516
:checkparams
@@ -25,6 +26,8 @@ rem Console types
2526
if "x%~1" == "x-consolez" shift& set MSYSCON=console.exe& goto :checkparams
2627
if "x%~1" == "x-mintty" shift& set MSYSCON=mintty.exe& goto :checkparams
2728
if "x%~1" == "x-defterm" shift& set MSYSCON=defterm& goto :checkparams
29+
rem Other parameters
30+
if "x%~1" == "x-use-full-path" shift& set SET_FULL_PATH=1& goto :checkparams
2831

2932

3033
rem Autodetect shell type if not specified

0 commit comments

Comments
 (0)