summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-02-04 11:18:06 -0800
committerIvan Kohler <ivan@freeside.biz>2016-02-04 11:18:06 -0800
commit5b2c7dda1c5acf62de9e7472ad6ec7a25bdca04d (patch)
tree611f6535b0f335f02db1a7f579eb8327c07963f5
parentb664241d5e97c8bd2c2d44a961d08aa8c1f0feb5 (diff)
fix static RT image copy
-rw-r--r--Makefile2
-rwxr-xr-xdebian/rules2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0647bed..842fb12 100644
--- a/Makefile
+++ b/Makefile
@@ -400,7 +400,7 @@ create-rt: configure-rt
install-rt:
if [ ${RT_ENABLED} -eq 1 ]; then ( cd rt; make install ); fi
- if [ ${RT_ENABLED} -eq 1 ]; then cp -r ${RT_PATH}/share/static/images ${FREESIDE_DOCUMENT_ROOT}/rt/NoAuth/ ;fi
+ if [ ${RT_ENABLED} -eq 1 ]; then cp -r rt/share/static/images ${FREESIDE_DOCUMENT_ROOT}/rt/NoAuth/ ;fi
if [ ${RT_ENABLED} -eq 1 ]; then perl -p -i -e "\
s'%%%RT_DOMAIN%%%'${RT_DOMAIN}'g;\
s'%%%RT_TIMEZONE%%%'${RT_TIMEZONE}'g;\
diff --git a/debian/rules b/debian/rules
index aa87745..b04ebf4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -266,7 +266,7 @@ install-stamp: build-stamp
install -d $(RT_PATH)/share
( cd rt; $(MAKE) config-install dirs files-install fixperms instruct )
- cp -r ${RT_PATH}/share/static/images ${FREESIDE_DOCUMENT_ROOT}/rt/NoAuth/
+ cp -r rt/share/static/images ${FREESIDE_DOCUMENT_ROOT}/rt/NoAuth/
##hack the build dir out of RT. yeah, sucky.