summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-10-15 22:48:43 -1000
committerSam Bingner <sam@bingner.com>2019-05-27 14:27:40 -1000
commit0ddc823cd9fedbabc8674c28caea586a1d7528fe (patch)
tree533fffd92fbf3995709820707081b6d0b07725df
parent6459b8caea2bc2365381d334d4a061495c0c8cd2 (diff)
Modify move.sh to also refuse to stash for iOS10.3 or higher in case something else calls it
-rwxr-xr-xLibrary/move.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/move.sh b/Library/move.sh
index 1e9dbb2..11a3851 100755
--- a/Library/move.sh
+++ b/Library/move.sh
@@ -77,4 +77,7 @@ function shift_() {
fi
}
-shift_ "$@"
+CFVERSION=$(cfversion)
+if [[ ${CFVERSION%.*} -lt 1349 || "$(uname -p)" == "arm" && ${CFVERSION%.*} -lt 1440 ]]; then
+ shift_ "$@"
+fi