diff --git a/repo.sh b/repo.sh
index 588c4477cace79768d1f0cb3fdf0f1bc744a1279..0e8b18cfb63bc75f9a86d3d1ccd6d6e3d0be8d1d 100755
--- a/repo.sh
+++ b/repo.sh
@@ -33,13 +33,13 @@ do
         fi
     fi
 
-    if [ ! -f "recipes/$recipe/stage.tar" ]
+    if [ ! -f "recipes/$recipe/stage.tar.gz" ]
     then
         echo -e "\033[01;38;5;155mrepo - building $recipe\033[0m" >&2
         ./cook.sh "$recipe" update build stage tar
     else
         TIME_BUILD="$(find recipes/$recipe/build -type f -not -path '*/.git*' -printf "%Ts\n" | sort -nr | head -n 1)"
-        TIME_STAGE="$(stat -c "%Y" recipes/$recipe/stage.tar)"
+        TIME_STAGE="$(stat -c "%Y" recipes/$recipe/stage.tar.gz)"
         TIME_RECIPE="$(find recipes/$recipe/{recipe.sh,*.patch} -printf '%Ts\n' | sort -nr | head -n 1)"
         if [ "$TIME_BUILD" -gt "$TIME_STAGE" -o "$TIME_RECIPE" -gt "$TIME_STAGE" ]
         then
@@ -53,7 +53,7 @@ done
 
 for recipe in $recipes
 do
-    if [ "recipes/$recipe/stage.tar" -nt "$REPO/$recipe.tar" ]
+    if [ "recipes/$recipe/stage.tar.gz" -nt "$REPO/$recipe.tar.gz" ]
     then
         echo -e "\033[01;38;5;155mrepo - publishing $recipe\033[0m" >&2
         ./cook.sh $recipe publish