Commit 64fb6188 authored by Jondy Zhao's avatar Jondy Zhao

slapos-cygwin-bootstrip: check setup.exe

parent 9f5d7c65
...@@ -72,6 +72,11 @@ csih_inform "/etc/passwd generated" ...@@ -72,6 +72,11 @@ csih_inform "/etc/passwd generated"
csih_inform "/etc/group generated" csih_inform "/etc/group generated"
[[ -f /etc/group ]] || mkgroup > /etc/group [[ -f /etc/group ]] || mkgroup > /etc/group
_filename=$(cygpath -a -w $(cygpath -w /)\\..\\setup.exe)
csih_inform "check ${_filename}"
[[ -f $(cygpath -u ${_filename}) ]] || csih_error "missing ${_filename}"
csih_inform "copy ${_filename} to /usr/bin"
cp $(cygpath -u ${_filename} /usr/bin
_filename=/usr/bin/cygport _filename=/usr/bin/cygport
if [[ -f ${_filename} ]] ; then if [[ -f ${_filename} ]] ; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment