File: fixlinks

package info (click to toggle)
alien 6.54
  • links: PTS
  • area: main
  • in suites: potato
  • size: 364 kB
  • ctags: 62
  • sloc: perl: 974; makefile: 117; sh: 8
file content (14 lines) | stat: -rw-r--r-- 507 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -e
# Clean up after cvs's dreadful symlink handling, by making all the symlinks
# this package needs.

# These dirs may not exist if directory pruning is turned on.
install -d lib/to-rpm/tgz lib/to-rpm/slp

ln -sf ../rpm/rules lib/to-deb/tgz/rules
ln -sf ../rpm/conffiles lib/to-deb/tgz/conffiles
ln -sf ../rpm/conffiles lib/to-deb/slp/conffiles
ln -sf ../rpm/rules lib/to-deb/slp/rules
ln -sf ../deb/spec lib/to-rpm/tgz/spec
ln -sf ../deb/spec lib/to-rpm/slp/spec
ln -sf debian/changelog CHANGES