[gnome-sdk-images] build.sh: Fix shell warning
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sdk-images] build.sh: Fix shell warning
- Date: Tue, 24 Mar 2015 14:11:51 +0000 (UTC)
commit 4c556ab53304993458bc3d2d82bee28989d8d40d
Author: Alexander Larsson <alexl redhat com>
Date: Tue Mar 24 15:11:25 2015 +0100
build.sh: Fix shell warning
build.sh | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/build.sh b/build.sh
index a6f9a04..98b21b9 100755
--- a/build.sh
+++ b/build.sh
@@ -32,7 +32,7 @@ fi
echo "builduser:x:`id -u`:`id -u`:Build user:/self/packages:/sbin/nologin" >> $ROOT/usr/etc/passwd
echo "builduser:x:`id -g`:" >> $ROOT/usr/etc/group
-rc = 1;
+rc=1
if test "x${XDG_APP_HELPER}" != "x"; then
$XDG_APP_HELPER -w -W -E -a $SRC -v $VAR $ROOT/usr env PATH="$PATH" /self/cd.sh "$@"
rc=$?;
@@ -41,7 +41,6 @@ elif test "x${LINUX_USER_CHROOT}" != "x"; then
rc=$?;
else
echo "No containment helper found"
- exit 1
fi
cp -a $BUILD/passwd.orig $ROOT/usr/etc/passwd
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]