git @ Cat's Eye Technologies The-Cannery / 0a11d22
Do not require `shelf` be installed; clone off GitHub if it's not. Chris Pressey 3 years ago
1 changed file(s) with 15 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
2222 return 1
2323 }
2424
25 if [ "x$SOURCE" != "x" ]; then
26 if shelf_pwd ${SOURCE}; then
27 GITDIR=`shelf_pwd ${SOURCE}`
28 else
29 echo "Please set SHELF_PATH to a directory where the source '${SOURCE}' can be found."
30 exit 1
31 fi
32 else
33 GITDIR=""
34 fi
35
3625 ORGNAME=catseye
3726 DOCKERFILE=$CONFIG_DIR/Dockerfile
3827 if [ "x$IMAGENAME" = "x" ]; then
3928 IMAGENAME=$EXENAME
29 fi
30
31 if [ "x$SHELF_PATH" != "x" ]; then
32 if [ "x$SOURCE" != "x" ]; then
33 if shelf_pwd ${SOURCE}; then
34 GITDIR=`shelf_pwd ${SOURCE}`
35 else
36 echo "Please set SHELF_PATH to a directory where the source '${SOURCE}' can be found."
37 exit 1
38 fi
39 else
40 GITDIR=""
41 fi
42 else
43 GITDIR="https://github.com/$ORGNAME/$SOURCE"
4044 fi
4145
4246 SRCDIR=/tmp/$IMAGENAME