Commit 3e0f70de authored by Josh Paetzel's avatar Josh Paetzel
Browse files

Fix image name

parent 06f9c767
No related merge requests found
Showing with 2 additions and 6 deletions
+2 -6
......@@ -14,15 +14,11 @@ main()
: ${FREENAS_ARCH=$(uname -p)}
export FREENAS_ARCH
export NANO_OBJ=${root}/obj.${FREENAS_ARCH}
: ${REVISION=`svnversion ${root} | tr -d M`}
if [ ! -f ${NANO_OBJ}/"FreeNAS-8r${REVISION}-${FREENAS_ARCH}.full" ]; then
REVISION=${REVISION}M
fi
if [ ! -f ${NANO_OBJ}/"FreeNAS-8r${REVISION}-${FREENAS_ARCH}.full" ]; then
if [ ! -f ${NANO_OBJ}/"FreeNAS-8.0-RC3-${FREENAS_ARCH}.full" ]; then
echo "Can't find image file for ${REVISION}, punting"
exit 1
fi
export NANO_NAME="FreeNAS-8r${REVISION}-${FREENAS_ARCH}"
export NANO_NAME="FreeNAS-8.0-RC3-${FREENAS_ARCH}"
export NANO_IMGNAME="${NANO_NAME}.full"
# Paths that may need altering on the build system
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment