summaryrefslogtreecommitdiff
path: root/gcc34
diff options
context:
space:
mode:
authorDanny Rawlins <romster@shortcircuit.net.au>2008-05-08 22:00:04 +1000
committerDanny Rawlins <romster@shortcircuit.net.au>2008-05-08 22:00:04 +1000
commitd5ce0df99da19895acb753092839459045c1f8fd (patch)
treefd17fb3a960894ef99703fed829b0998b6cc4ae6 /gcc34
parent6ccb69e9e87a98e79afa1a2c7fa9deabc510208e (diff)
downloadcontrib-d5ce0df99da19895acb753092839459045c1f8fd.tar.gz
contrib-d5ce0df99da19895acb753092839459045c1f8fd.tar.xz
gcc34: minor improvements to post-install
Diffstat (limited to 'gcc34')
-rwxr-xr-xgcc34/post-install4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc34/post-install b/gcc34/post-install
index 1463c3d1e..3446f0a54 100755
--- a/gcc34/post-install
+++ b/gcc34/post-install
@@ -20,14 +20,14 @@ symlink() {
NOT_INSTALLED='yes'
fi
done
- if [ $NOT_INSTALLED ]; then
+ if [ "$NOT_INSTALLED" ]; then
echo "post-install: in directory '$DIRECTORY'."
fi
for c in $SYMLINKS; do
if [ ! -e "$DIRECTORY/$c" ]; then
ln -s "../../bin/$BASENAME" "$c"
if [ $? -gt 0 ]; then
- echo "post-install: error creating symlink '../../bin/$BASENAME $c'."
+ echo "post-install: error creating symlink '../../bin/$BASENAME -> $c'."
exit 1
else
echo "post-install: create symlink '../../bin/$BASENAME -> $c'."

Generated by cgit