Bug 1290531 - Remove unused find_registry(); r?dustin draft
authorGregory Szorc <gps@mozilla.com>
Fri, 29 Jul 2016 12:55:48 -0700
changeset 395032 ec5be7ea360563e940edbfe919986c83712164bd
parent 395031 8222520106b6a933c2bbb4164213fee4100f205b
child 395033 c2c37d6888c4acfb0a0204118cbb42d58efd5088
push id24705
push userbmo:gps@mozilla.com
push dateMon, 01 Aug 2016 18:26:57 +0000
reviewersdustin
bugs1290531
milestone50.0a1
Bug 1290531 - Remove unused find_registry(); r?dustin We're about to make significant changes to this file. Nuke an unused function to make diffs easier to reason about. MozReview-Commit-ID: KXXSrCVHww1
testing/docker/build.sh
--- a/testing/docker/build.sh
+++ b/testing/docker/build.sh
@@ -18,26 +18,16 @@ usage() {
 
 usage_err() {
   echo $1
   echo
   usage
   exit 1
 }
 
-find_registry() {
-  local reg="$1/REGISTRY"
-
-  if [ -f $reg ];
-  then
-    echo $folder
-    return
-  fi
-}
-
 build() {
   local image_name=$1
   local folder="$gecko_root/testing/docker/$image_name"
   local folder_reg="$folder/REGISTRY"
   local folder_ver="$folder/VERSION"
   local could_deploy=false
 
   if [ "$image_name" == "" ];