The bug causes e.g.
svn =
git =
is not a valid svn/git command. The bug was a typo in the first if-clause.
Changes to be committed:
modified: candi.sh
cd ${UNPACK_PATH}
# Suitably clone or update git repositories
if [ ! -d ${EXTRACTSTO} ]; then
- git clone ${SOURCE}${NAME}
+ git clone ${SOURCE}${NAME} ${EXTRACTSTO}
else
cd ${EXTRACTSTO}
git pull
cd ${DOWNLOAD_PATH}
# Only need to verify archives
- if [ ${PACKING} = ".tar.bz2" ] || [ ${PACKING} = ".tar.gz" ] || [ ${PACKING} = ".tbz2" ] || ${PACKING} = ".tgz" ] || [ ${PACKING} = ".tar.xz" ] || [ ${PACKING} = ".zip" ]; then
+ if [ ${PACKING} = ".tar.bz2" ] || [ ${PACKING} = ".tar.gz" ] || [ ${PACKING} = ".tbz2" ] || [ ${PACKING} = ".tgz" ] || [ ${PACKING} = ".tar.xz" ] || [ ${PACKING} = ".zip" ]; then
cecho ${GOOD} "Verifying ${NAME}${PACKING}"
# Check checksum has been specified for the package
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams