summaryrefslogtreecommitdiff
path: root/Library/move.sh
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-10-15 22:48:43 -1000
committerSam Bingner <sam@bingner.com>2018-10-15 23:03:20 -1000
commit1c4574040071f6878a25486263b8d11d3030fc63 (patch)
tree997a854a45138a9febf5c3a0c8b6789a3249bc26 /Library/move.sh
parent7fa5a0b401e22571e7de3713765a10640a36902d (diff)
Modify move.sh to also refuse to stash for iOS10.3 or higher in case something else calls itv1.1.32%b6
Diffstat (limited to 'Library/move.sh')
-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