Fixed update.sh

pull/1/head
Julius Riegel 7 years ago
parent 8f284b7fe9
commit f4d4902233

@ -42,7 +42,7 @@
<entry file="file://$PROJECT_DIR$/update.sh"> <entry file="file://$PROJECT_DIR$/update.sh">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="51"> <state relative-caret-position="51">
<caret line="3" column="23" lean-forward="false" selection-start-line="3" selection-start-column="23" selection-end-line="3" selection-end-column="23" /> <caret line="3" column="48" lean-forward="false" selection-start-line="3" selection-start-column="48" selection-end-line="3" selection-end-column="48" />
<folding /> <folding />
</state> </state>
</provider> </provider>
@ -469,7 +469,7 @@
<entry file="file://$PROJECT_DIR$/update.sh"> <entry file="file://$PROJECT_DIR$/update.sh">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="51"> <state relative-caret-position="51">
<caret line="3" column="23" lean-forward="false" selection-start-line="3" selection-start-column="23" selection-end-line="3" selection-end-column="23" /> <caret line="3" column="48" lean-forward="false" selection-start-line="3" selection-start-column="48" selection-end-line="3" selection-end-column="48" />
<folding /> <folding />
</state> </state>
</provider> </provider>

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
cd .. cd ..
if [ -d "spydian/" ];then if [ -d "spydian/" ];then
sudo git -b develop clone https://bitbucket.org/trivernis/spydian.git spydian_update sudo git -b develop clone https://trivernis@bitbucket.org/trivernis/spydian.git spydian_update
sudo rsync -a ./spydian_update/ ./spydian/ sudo rsync -a ./spydian_update/ ./spydian/
sudo rm -r ./spydian_update/ sudo rm -r ./spydian_update/
sudo chmod -R u+rw ./spydian/ sudo chmod -R u+rw ./spydian/

Loading…
Cancel
Save