Skip to content
Snippets Groups Projects
Commit e36aad23 authored by valerio's avatar valerio
Browse files

Updated create_bundle script to creatt symlinks

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2620 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent 378e1e54
No related branches found
No related tags found
No related merge requests found
...@@ -129,12 +129,8 @@ subprocess.call('cp -pRL examples '+directory_name+'/share/openstructure/',she ...@@ -129,12 +129,8 @@ subprocess.call('cp -pRL examples '+directory_name+'/share/openstructure/',she
print 'Copying ReadMe file into package directory structure' print 'Copying ReadMe file into package directory structure'
subprocess.call('cp deployment/README.html '+directory_name,shell=True,cwd='../../') subprocess.call('cp deployment/README.html '+directory_name,shell=True,cwd='../../')
print 'Creating executables at the top level of the package directory structure' print 'Creating executables at the top level of the package directory structure'
subprocess.call('echo "bin/dng" > '+directory_name+'/dng',shell=True,cwd='../../') subprocess.call('ln -sf bin/dng ./dng',shell=True,cwd='../../'+directory_name)
subprocess.call('chmod +x '+directory_name+'/dng',shell=True,cwd='../../') subprocess.call('ln -sf bin/ost ./ost',shell=True,cwd='../../'+directory_name)
subprocess.call('chmod -w '+directory_name+'/dng',shell=True,cwd='../../')
subprocess.call('echo "bin/ost" > '+directory_name+'/ost',shell=True,cwd='../../')
subprocess.call('chmod +x '+directory_name+'/ost',shell=True,cwd='../../')
subprocess.call('chmod -w '+directory_name+'/ost',shell=True,cwd='../../')
print 'Copying additional libraries in the package directory structure' print 'Copying additional libraries in the package directory structure'
subprocess.call('cp /usr/lib/libssl.so.0.9.8 '+directory_name+'/'+libdir,shell=True,cwd='../../') subprocess.call('cp /usr/lib/libssl.so.0.9.8 '+directory_name+'/'+libdir,shell=True,cwd='../../')
subprocess.call('cp /usr/lib/libcrypto.so.0.9.8 '+directory_name+'/'+libdir,shell=True,cwd='../../') subprocess.call('cp /usr/lib/libcrypto.so.0.9.8 '+directory_name+'/'+libdir,shell=True,cwd='../../')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment