Commit 3c2456eb authored by Scott Duensing's avatar Scott Duensing

Fixed dumb bug in doSudio inside installer.

parent a2a598e6
......@@ -226,7 +226,7 @@ function doSudo() {
if [[ "${ARGS}x" == "x" ]]; then
SUDO_ASKPASS="${ASK}" sudo -A -v
else
SUDO_ASKPASS="${ASK}" sudo -A "${ARGS}"
SUDO_ASKPASS="${ASK}" sudo -A ${ARGS}
fi
}
......
......@@ -10,12 +10,14 @@ DIR=$(dirname $1)
TARGET=/tmp/xcf2sta
TEMPIMAGE=${TARGET}/fixImageTemp.png
echo Converting ${1} to ${NAME}.sta...
mkdir -p ${TARGET}/data
xcf2png ${1} > ${TEMPIMAGE}
pushd ${TARGET}
pushd ${TARGET} &> /dev/null
${JOEY}/utils/imgconvert ${TEMPIMAGE} ${NAME} $2
popd
popd &> /dev/null
mv -f ${TARGET}/data/${NAME}.sta ${DIR}/${NAME}.sta
......
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