blob: d41b09358b499afa1dcc8ed29a0778bd02c50653 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
path="$1"
name=`basename "$path"`
mv "$path" "$path.0.0.0"
chmod +x "$path.0.0.0"
rm -f "$path"
rm -f "$path.0"
ln -s "$name.0.0.0" "$path"
ln -s "$name.0.0.0" "$path.0"
|