mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 23:51:08 +00:00
change directory out of the way of schroot problems.
This commit is contained in:
parent
e4da9b9daf
commit
865c68bb64
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,7 +1,9 @@
|
|||||||
ubuntu-dev-tools (0.74) UNRELEASED; urgency=low
|
ubuntu-dev-tools (0.74) UNRELEASED; urgency=low
|
||||||
|
|
||||||
* mk-sbuild-lv: skip security repo for Debian unstable, thanks to
|
* mk-sbuild-lv:
|
||||||
Ryan Niebur (LP: #371569).
|
- skip security repo for Debian unstable, thanks to Ryan Niebur
|
||||||
|
(LP: #371569).
|
||||||
|
- change directory out of the way of schroot problems.
|
||||||
|
|
||||||
-- Kees Cook <kees@ubuntu.com> Mon, 04 May 2009 09:11:42 -0700
|
-- Kees Cook <kees@ubuntu.com> Mon, 04 May 2009 09:11:42 -0700
|
||||||
|
|
||||||
|
@ -26,6 +26,10 @@
|
|||||||
# It will deal with sbuild having not be installed and configured before.
|
# It will deal with sbuild having not be installed and configured before.
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# For when schroot enters the chroot, we cannot be in a directory that
|
||||||
|
# will not exist in the chroot.
|
||||||
|
cd /
|
||||||
|
|
||||||
# Make sure we've got a regular user
|
# Make sure we've got a regular user
|
||||||
if [ -w /etc/passwd ]; then
|
if [ -w /etc/passwd ]; then
|
||||||
echo "Please run this script as a regular user, not root." >&2
|
echo "Please run this script as a regular user, not root." >&2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user