mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix for Mac sed error in prepare script
This commit is contained in:
parent
8c2a0b0408
commit
c9d822470f
@ -20,7 +20,15 @@ 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
|
||||
|
||||
else
|
||||
echo No working copy
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user