mirror of
https://github.com/qgis/QGIS.git
synced 2025-06-18 00:04:02 -04:00
revert platform case
This commit is contained in:
parent
c9d822470f
commit
52eed922cb
@ -20,15 +20,7 @@ set -e
|
||||
if [ -d .svn ]; then
|
||||
MODIFIED=$(svn status | sed -ne "s/^[MA] *//p")
|
||||
elif [ -d .git ]; then
|
||||
case $OSTYPE in
|
||||
darwin*)
|
||||
MODIFIED=$(git status | sed -Ene "s/^# (modified|new file): *//p" | sort -u)
|
||||
;;
|
||||
*)
|
||||
MODIFIED=$(git status | sed -rne "s/^# (modified|new file): *//p" | sort -u)
|
||||
;;
|
||||
esac
|
||||
|
||||
MODIFIED=$(git status --porcelain| sed -ne "s/^ *[MA] *//p" | sort -u)
|
||||
else
|
||||
echo No working copy
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user