Issue 49: Debian packageing uses cross-directory hardlinks

o install target of rules used a hard link from the usr/share
  directory to etc.  This will be unreliable in many circumstances.
  Linking changed to a copy.
This commit is contained in:
Marc Singer 2012-03-31 12:42:40 -07:00
parent 03a5435584
commit 12010660b1

2
debian/rules vendored
View file

@ -27,7 +27,7 @@ override_dh_install:
"$(CURDIR)/debian/tmp/etc/shellinabox/options-enabled" "$(CURDIR)/debian/tmp/etc/shellinabox/options-enabled"
for i in "00+Black on White" "00_White On Black" \ for i in "00+Black on White" "00_White On Black" \
"01_Monochrome" "01+Color Terminal"; do \ "01_Monochrome" "01+Color Terminal"; do \
ln "$(CURDIR)/debian/tmp/usr/share/doc/shellinabox/$$(echo "$$i"| \ cp "$(CURDIR)/debian/tmp/usr/share/doc/shellinabox/$$(echo "$$i"| \
sed -e 's/[0-9]*[_+]\([^ ]*\).*/\1/'| \ sed -e 's/[0-9]*[_+]\([^ ]*\).*/\1/'| \
tr A-Z a-z)"*.css \ tr A-Z a-z)"*.css \
"$(CURDIR)/debian/tmp/etc/shellinabox/options-available/$$i.css";\ "$(CURDIR)/debian/tmp/etc/shellinabox/options-available/$$i.css";\