start shellchecking

This commit is contained in:
Jeffrey Crowell 2015-06-16 22:19:48 -04:00
parent 53badd517d
commit 370f111ce2
3 changed files with 8 additions and 8 deletions

View File

@ -5,7 +5,7 @@ gmake --help >/dev/null 2>&1
[ $? = 0 ] && MAKE=gmake
# find root
cd `dirname $PWD/$0` ; cd ..
cd "$(dirname "$PWD/$0")" ; cd ..
# update
if [ "$1" != "--without-pull" ]; then
@ -33,13 +33,13 @@ fi
ROOT=${HOME}/.radare2-prefix
if [ "${HARDEN}" = 1 ]; then
./sys/build-harden.sh ${ROOT} && ${MAKE} symstall
./sys/build-harden.sh "${ROOT}" && ${MAKE} symstall
else
./sys/build.sh ${ROOT} && ${MAKE} symstall
./sys/build.sh "${ROOT}" && ${MAKE} symstall
fi
${MAKE} user-install
echo
echo radare2 is now installed in ~/.radare2-prefix
echo
echo Now add ${HOME}/bin to your ${PATH}
echo "Now add ${HOME}/bin to your ${PATH}"
echo

View File

@ -3,7 +3,7 @@
[ -z "${PREFIX}" ] && PREFIX=/usr
# find root
cd `dirname $PWD/$0`
cd "$(dirname "$PWD/$0")"
. ./CONFIG
mkdir -p _work
@ -22,10 +22,10 @@ if [ ! $? = 0 ]; then
VV=0.13.4
SV=$(echo ${VV}|cut -d . -f 1,2)
if [ ! -d vala-${VV} ]; then
wget http://download.gnome.org/sources/vala/${SV}/vala-${VV}.tar.bz2
wget "http://download.gnome.org/sources/vala/${SV}/vala-${VV}.tar.bz2"
tar xjvf vala-${VV}.tar.bz2
fi
cd vala-${VV}
cd vala-${VV} || exit 1
./configure --prefix=/usr && \
make && \
sudo make install

View File

@ -3,7 +3,7 @@
[ -z "${PREFIX}" ] && PREFIX=/usr
# find root
cd `dirname $PWD/$0`
cd "$(dirname "$PWD/$0")"
. ./CONFIG
mkdir _work