export
echo
+#
+# check if we have a LIVEBOOT_IMAGE_LINK
+#
+if [ "$LIVEBOOT_IMAGE_LINK" != "" ] ; then
+ echo "Ok, got LIVEBOOT_IMAGE_LINK=$LIVEBOOT_IMAGE_LINK, which is valid."
+else
+ echo "Fail, no LIVEBOOT_IMAGE_LINK set."
+ exit 1
+fi
+
#
# check if we have a LIVEBOOT_BUILD_NUMBER
#
#
# create pending-approval link
#
-ssh -oStrictHostKeyChecking=no -i ~/.ssh/id_ritest root@riserver "rm -f /srv/mirror/liveboot/autotest; ln -sfv $(basename $SOURCE_DIR) /srv/mirror/liveboot/autotest"
+ssh -oStrictHostKeyChecking=no -i ~/.ssh/id_ritest root@riserver "rm -f /srv/mirror/liveboot/$LIVEBOOT_IMAGE_LINK; ln -sfv $(basename $SOURCE_DIR) /srv/mirror/liveboot/$LIVEBOOT_IMAGE_LINK"
#
# finish
#