Change *-cvs-bare cache dirs to *-cvs-master.
[nethome.git] / bin / mockupdate
index 8ae9e35..b62c493 100755 (executable)
@@ -13,6 +13,10 @@ if [ "$1" = "-q" ];then
        shift
 fi
 
+if [ -z "$HOME" ];then
+       HOME=/root
+fi
+
 for i in "$@";do
        if [ "$i" = "${i#/var/lib/mock/}" ];then
                echo >&2 "$i not /var/lib/mock/*"