Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d397cae0b4
Fetching contributors…

Cannot retrieve contributors at this time

executable file 18 lines (15 sloc) 0.353 kb
#! /bin/sh
DEST_DIR=$HOME/bin
rm *~
for f in *; do
[ "$f" == "install" ] && continue
ff=$(readlink -f $f)
if [ ! -e $DEST_DIR/$f ]; then
echo "symlink $DEST_DIR/$f" && ln -s $ff $DEST_DIR/$f
else
bf=$(readlink -e $DEST_DIR/$f)
if [ "$bf" != "$ff" ]; then
echo "$bf is not OK"
fi
fi
done
Jump to Line
Something went wrong with that request. Please try again.