We need to quote UPDATE_SEED_STAGE or the test will always return sucess.
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Fri, 31 Aug 2012 01:56:45 +0000 (01:56 +0000)
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Fri, 31 Aug 2012 01:56:45 +0000 (01:56 +0000)
targets/stage1/stage1-chroot.sh

index 641f5c39272032e2c2fe1e480a2524908138fa1c..2c4dacaca5d7830102c069c5438ae5a8d7f3342f 100644 (file)
@@ -26,7 +26,7 @@ run_merge "--oneshot --nodeps sys-apps/baselayout"
 
 # Update stage3
 #UPDATE_SEED_STAGE="yes"
-if [ -n ${UPDATE_SEED_STAGE} ]; then
+if [ -n "${UPDATE_SEED_STAGE}" ]; then
        echo "Updating seed stage..."
        clst_root_path=/ run_merge "--update --deep --newuse @world"
 fi