Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kasra Jamshidi
slapos.package
Commits
9f5d7c65
Commit
9f5d7c65
authored
Jul 29, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup-cygwin.bat:
support to run it without parameters check setup.exe exists or not before setup
parent
4e6434c6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
+18
-4
windows/scripts/setup-cygwin.bat
windows/scripts/setup-cygwin.bat
+18
-4
No files found.
windows/scripts/setup-cygwin.bat
View file @
9f5d7c65
@ECHO
OFF
@ECHO
OFF
SETLOCAL
SETLOCAL
SET
CYGWINHOME
=
%
~
1
SET
CYGWINHOME
=
%
~
1
\
SET
CYGWINROOT
=
"
%
~1\cygwin"
SET
CYGWINROOT
=
"
%
~1\cygwin"
SET
DOWNLOADPATH
=
"
%CYGWINHOME%
\cygwin-packages"
SET
SETUPFILE
=
"
%CYGWINHOME%
\setup.exe"
IF
NOT
"
%CYGWINHOME%
"
==
""
GOTO
INIT
SET
CYGWINHOME
=
%~dp0
SET
CYGWINROOT
=
"
%~dp0
cygwin"
:INIT
SET
DOWNLOADPATH
=
"
%CYGWINHOME%
cygwin-packages"
SET
SETUPFILE
=
"
%CYGWINHOME%
setup.exe"
SET
OPTIONS
=-
-no-shortcuts
-
-no-startmenu
-
-quiet-mode
-
-no-verify
SET
OPTIONS
=-
-no-shortcuts
-
-no-startmenu
-
-quiet-mode
-
-no-verify
IF
NOT
EXIST
%SETUPFILE%
GOTO
START
ECHO
Missing
%SETUPFILE%
ENDLOCAL
EXIT
1
START
:
IF
NOT
"
%
2"
==
""
GOTO
REMOTE_INSTALL
IF
NOT
"
%
2"
==
""
GOTO
REMOTE_INSTALL
:LOCAL
_INSTALL
:LOCAL
_INSTALL
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment