Skip to content

Commit

Permalink
Fix dangling symlinks in intermediary builds by using --remove-destin…
Browse files Browse the repository at this point in the history
…ation.

cp: not writing through dangling symlink `/usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/js/contrail.networktopology.js'

root@nodea8:/usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/js# ls
0272dc9e5c21.js b28ee7422312.js contrail.networktopology.js

Change-Id: I4c95a5e74a29f3b5d02c129b3923a51dee113fe6
Closes-Bug: #1462628
  • Loading branch information
rsharma-contrailsystems authored and knagakiran committed Jun 18, 2015
1 parent 9e21e03 commit b804a50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -5,7 +5,7 @@ set -e

if [ "$1" = "configure" ] ; then
if [ -e /usr/share/openstack-dashboard/openstack_dashboard/static ] ; then
cp -L -prf /usr/lib/python2.7/dist-packages/contrail_openstack_dashboard/openstack_dashboard/static/* /usr/share/openstack-dashboard/openstack_dashboard/static
cp -L -prf --remove-destination /usr/lib/python2.7/dist-packages/contrail_openstack_dashboard/openstack_dashboard/static/* /usr/share/openstack-dashboard/openstack_dashboard/static
fi
fi
#DEBHELPER#
Expand Up @@ -5,7 +5,7 @@ set -e

if [ "$1" = "configure" ] ; then
if [ -e /usr/share/openstack-dashboard/openstack_dashboard/static ] ; then
cp -L -prf /usr/lib/python2.7/dist-packages/contrail_openstack_dashboard/openstack_dashboard/static/* /usr/share/openstack-dashboard/openstack_dashboard/static
cp -L -prf --remove-destination /usr/lib/python2.7/dist-packages/contrail_openstack_dashboard/openstack_dashboard/static/* /usr/share/openstack-dashboard/openstack_dashboard/static
fi
fi
#DEBHELPER#

0 comments on commit b804a50

Please sign in to comment.