Missed refactoring: OBJDIR is superfluous now; just reference the default .dmg via BASEDIR plus objdir/arch/dist path directly. default tip
authorSmokey Ardisson <alqahira@ardisson.org>
Wed, 09 Jan 2013 00:39:16 -0500
changeset 52 d5a8a534399c0c24d45e073b7ea5f82b731b9f71
parent 51 9f1ab9a88537e5502d850b07c3f9d4fa4ce16d90
push id40
push useralqahira@ardisson.org
push dateWed, 09 Jan 2013 05:39:21 +0000
Missed refactoring: OBJDIR is superfluous now; just reference the default .dmg via BASEDIR plus objdir/arch/dist path directly.
sign_exp.sh
--- a/sign_exp.sh
+++ b/sign_exp.sh
@@ -1,21 +1,20 @@
 #!/bin/sh
 
 # By default, this script acts on $OBJDIR/i386/dist/Camino.dmg
 #
 # If there is one and only one argument, it will sign that Camino dmg instead.
 
-# Base paths (tree root, srcdir, universal objdir's dist/)
+# Base paths (tree root, srcdir)
 BASEDIR="/Users/smokey/Camino/dev/192branch"
 SRCDIR="$BASEDIR/mozilla/camino"
-OBJDIR="$BASEDIR/CaminoStaticUni192/i386/dist"
 
 # Default .dmg to sign, if no argument.
-DMG="$OBJDIR/Camino.dmg"
+DMG="$BASEDIR/CaminoStaticUni192/i386/dist/Camino.dmg"
 
 if [ $# -eq 1 ]; then
   # Basic sanity-check that the argument is actually a .dmg
   FILE=`basename "$1"`
   #echo "$FILE"
   EXT=${FILE##*.}
   #echo "$EXT"