Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
d41f1866
Kaydet (Commit)
d41f1866
authored
Kas 22, 2010
tarafından
Norbert Thiebaud
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
simplify the determination of the bootstrap dir
üst
13756e65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
11 deletions
+6
-11
mkworkdir
bin/mkworkdir
+6
-11
No files found.
bin/mkworkdir
Dosyayı görüntüle @
d41f1866
...
@@ -57,18 +57,13 @@ done
...
@@ -57,18 +57,13 @@ done
if
[
-z
"
$BOOTSTRAP_DIR
"
]
;
then
if
[
-z
"
$BOOTSTRAP_DIR
"
]
;
then
BOOTSTRAP_DIR
=
$(
git rev-parse
--git-dir
2>/dev/null
)
||
die
"Cannot use the current working directory as implicit source: Not a git repository"
BOOTSTRAP_DIR
=
$(
git rev-parse
--show-toplevel
2>/dev/null
)
||
die
"Cannot use the current working directory as implicit source: Not a git repository"
if
[
-n
"
$BOOTSTRAP_DIR
"
]
;
then
case
"
$BOOTSTRAP_DIR
"
in
if
[
"
$(
basename
$(
git config remote.origin.url
))
"
!=
"bootstrap"
]
;
then
.git
)
die
"Cannot use the current working directory as implicit source: Not a bootstrap git repository"
BOOTSTRAP_DIR
=
"
$(
pwd
)
"
fi
;;
fi
.
)
cd
..
&&
BOOTSTRAP_DIR
=
$(
pwd
)
;;
esac
fi
fi
if
[
-z
"
$DEST_DIR
"
]
;
then
if
[
-z
"
$DEST_DIR
"
]
;
then
echo
"destination directory is missing."
echo
"destination directory is missing."
print_help
$0
print_help
$0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment