mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine comments
This commit is contained in:
parent
8766ab5de2
commit
b825ea62f9
2 changed files with 14 additions and 2 deletions
|
@ -1,6 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# sudo ln -sf `pwd`/git.commit.sh /bin/git-ensure-commit
|
cat <<END >>/dev/null
|
||||||
|
touch git-ensure-commit &&
|
||||||
|
echo "bash `pwd`/git.commit.sh" >git-ensure-commit &&
|
||||||
|
chmod +x git-ensure-commit &&
|
||||||
|
sudo rm -f /bin/git-ensure-commit &&
|
||||||
|
sudo mv git-ensure-commit /bin/git-ensure-commit
|
||||||
|
END
|
||||||
|
|
||||||
echo "submit code to github.com"
|
echo "submit code to github.com"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# sudo ln -sf `pwd`/git2unix.sh /bin/git2unix
|
cat <<END >>/dev/null
|
||||||
|
touch git2unix &&
|
||||||
|
echo "bash `pwd`/git2unix.sh" >git2unix &&
|
||||||
|
chmod +x git2unix &&
|
||||||
|
sudo rm -f /bin/git2unix &&
|
||||||
|
sudo mv git2unix /bin/git2unix
|
||||||
|
END
|
||||||
|
|
||||||
dos2unix -V>/dev/null 2>&1
|
dos2unix -V>/dev/null 2>&1
|
||||||
ret=$?; if [[ 0 -ne $ret ]]; then
|
ret=$?; if [[ 0 -ne $ret ]]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue