Modified OSX build script to name the output .dmg in the approved format
This commit is contained in:
parent
d1beb31739
commit
3e48ee3bbe
@ -29,7 +29,7 @@ ETC=${MACOS}/etc
|
|||||||
LIB=${MACOS}/lib
|
LIB=${MACOS}/lib
|
||||||
SHARE=${MACOS}/share
|
SHARE=${MACOS}/share
|
||||||
RELEASE=release
|
RELEASE=release
|
||||||
DMG=${RELEASE}/RawTherapee.dmg
|
DMG=${RELEASE}/rawtherapee_osx105_`date "+%Y-%m-%d"`_release-3.0-a1+`hg log | head -1 | cut -f 4 -d ' ' | sed 's/:/-/g'`.dmg
|
||||||
EXECUTABLE=rt
|
EXECUTABLE=rt
|
||||||
|
|
||||||
#Find where MacPorts is installed. We take a known binary (cmake), which is in <MacPorts>/bin, and
|
#Find where MacPorts is installed. We take a known binary (cmake), which is in <MacPorts>/bin, and
|
||||||
@ -47,10 +47,8 @@ if [ -d "${APP}" ]; then
|
|||||||
echo "Removing old application..."
|
echo "Removing old application..."
|
||||||
rm -rf "${APP}"
|
rm -rf "${APP}"
|
||||||
fi
|
fi
|
||||||
if [ -f ${DMG} ]; then
|
echo "Removing any old disk images..."
|
||||||
echo "Removing old disk image..."
|
rm "${RELEASE}/*.dmg"
|
||||||
rm "${DMG}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Making application directory structure..."
|
echo "Making application directory structure..."
|
||||||
mkdir -p "${RESOURCES}"
|
mkdir -p "${RESOURCES}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user