File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ if [ -d ${DESTDIR} ]; then
56
56
pushd . & > /dev/null
57
57
cd ${DESTDIR}
58
58
59
- for dir in ` find " ${DESTDIR} " -maxdepth 2 -name " .git" -type d` ; do
59
+ for dir in ` find " ${DESTDIR} " -maxdepth 3 -name " .git" -type d` ; do
60
60
pdir=${dir%/* }
61
61
_notice " Start update code in ${pdir} ..."
62
62
cd " $dir /../" && git pull --recurse-submodules
Original file line number Diff line number Diff line change @@ -365,6 +365,10 @@ resolve_link() {
365
365
$( type -p greadlink readlink | head -1) " $1 "
366
366
}
367
367
368
+ readlink_mac () {
369
+ python -c " import os; print(os.path.realpath('$1 '))"
370
+ }
371
+
368
372
abs_dirname () {
369
373
local cwd=" $( pwd) "
370
374
local path=" $1 "
@@ -390,5 +394,6 @@ expand_path() {
390
394
# ################################
391
395
# assert_not_root_user
392
396
# assert_root_user
397
+ readlink_mac " ./"
393
398
error " Bad news"
394
399
writefile " test" " hello"
You can’t perform that action at this time.
0 commit comments