chiark
/
gitweb
/
~mdw
/
sw-tools
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Boring files I don't want.
[sw-tools]
/
sw-share.in
1
#! /bin/sh
2
3
# --- Configuration ---
4
5
cd @prefix@
6
7
# --- Go! ---
8
9
archlist=`sw listarch`
10
for i in *; do
11
case "$i" in sw-index) continue;; esac
12
for a in $archlist; do
13
target="arch/$a/$i"
14
[ -L "$target" ] && rm "$target"
15
[ -f "$target" -o -d "$target" ] && continue
16
ln -s ../../"$i" "$target"
17
done
18
done