Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
U
unibuild
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ç
SulinOS
unibuild
Commits
550df9eb
Kaydet (Commit)
550df9eb
authored
May 09, 2021
tarafından
Ali Rıza KESKİN
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fakeroot environment support added
üst
6bc88d1f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
unibuild.sh
src/unibuild.sh
+18
-0
No files found.
src/unibuild.sh
Dosyayı görüntüle @
550df9eb
#!/bin/bash
if
[
"
$UID
"
!=
"0"
]
;
then
if
which fakeroot &>/dev/null
;
then
exec
fakeroot
$0
$@
else
echo
"Fakeroot not found."
echo
"Please install fakeroot or use root."
exit
1
fi
else
if
[
"
$FAKEROOTKEY
"
==
""
]
;
then
echo
"Do you want to continue building with root user? [y/N]"
read
-s
-n
1 c
if
[
"
$c
"
!=
"Y"
]
||
[
$c
!=
"y"
]
;
then
echo
"Operation canceled."
exit
1
fi
fi
fi
export
UNIBUILDRC
=
"
$HOME
/.unibuildrc"
$(
env
|
cut
-f
1
-d
'='
|
grep
-v
"TARGET"
|
grep
-v
"UNIBUILDRC"
|
grep
-v
"HOST"
|
grep
-v
"DISTRO"
|
sed
"s/^/unset /"
)
export
PATH
=
/bin:/sbin:/usr/bin:/usr/sbin
...
...
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