1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

Quote paths during install

This commit is contained in:
John Simon 2013-03-07 15:09:37 -05:00
parent da07fc3308
commit 4630afd605

View File

@ -216,20 +216,20 @@ if [[ $dry_run ]]; then
fi
# INSTALL AUTOJUMP
mkdir -p ${destdir}${prefix}share/autojump/ || exit 1
mkdir -p ${destdir}${prefix}bin/ || exit 1
mkdir -p ${destdir}${prefix}share/man/man1/ || exit 1
cp -v ./bin/icon.png ${destdir}${prefix}share/autojump/ || exit 1
cp -v ./bin/autojump ${destdir}${prefix}bin/ || exit 1
cp -v ./bin/autojump_argparse.py ${destdir}${prefix}bin/ || exit 1
cp -v ./docs/autojump.1 ${destdir}${prefix}share/man/man1/ || exit 1
mkdir -p ${destdir}etc/profile.d/ || exit 1
cp -v ./bin/autojump.sh ${destdir}etc/profile.d/ || exit 1
cp -v ./bin/autojump.bash ${destdir}etc/profile.d/ || exit 1
cp -v ./bin/autojump.zsh ${destdir}etc/profile.d/ || exit 1
mkdir -p ${destdir}${zshsharedir} || exit 1
mkdir -p "${destdir}${prefix}share/autojump/" || exit 1
mkdir -p "${destdir}${prefix}bin/" || exit 1
mkdir -p "${destdir}${prefix}share/man/man1/" || exit 1
cp -v ./bin/icon.png "${destdir}${prefix}share/autojump/" || exit 1
cp -v ./bin/autojump "${destdir}${prefix}bin/" || exit 1
cp -v ./bin/autojump_argparse.py "${destdir}${prefix}bin/" || exit 1
cp -v ./docs/autojump.1 "${destdir}${prefix}share/man/man1/" || exit 1
mkdir -p "${destdir}etc/profile.d/" || exit 1
cp -v ./bin/autojump.sh "${destdir}etc/profile.d/" || exit 1
cp -v ./bin/autojump.bash "${destdir}etc/profile.d/" || exit 1
cp -v ./bin/autojump.zsh "${destdir}etc/profile.d/" || exit 1
mkdir -p "${destdir}${zshsharedir}" || exit 1
# TODO: remove unused _j function (2013.02.01_1348, ting)
install -v -m 0755 ./bin/_j ${destdir}${zshsharedir} || exit 1
install -v -m 0755 ./bin/_j "${destdir}${zshsharedir}" || exit 1
# MODIFY AUTOJUMP.SH FOR CUSTOM INSTALLS
if [[ -z ${local} ]] && [[ -z ${global} ]]; then