File: copy-gemspec

package info (click to toggle)
ruby-task-list 2.0.0-2~bpo9+1
  • links: PTS, VCS
  • area: main
  • in suites: stretch-backports
  • size: 248 kB
  • sloc: ruby: 319; sh: 14; makefile: 6
file content (7 lines) | stat: -rwxr-xr-x 623 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
#!/bin/sh
# provide task_list
version=$(head -1 debian/changelog |cut -d'(' -f2|cut -d'-' -f1|cut -d+ -f1)
cp debian/ruby-task-list/usr/share/rubygems-integration/all/specifications/deckar01-task_list-${version}.gemspec \
debian/ruby-task-list/usr/share/rubygems-integration/all/specifications/task_list-${version}.gemspec
sed -i 's/"deckar01-task_list"/"task_list"/' debian/ruby-task-list/usr/share/rubygems-integration/all/specifications/task_list-${version}.gemspec
sed -i 's/stub: deckar01-task_list/stub: task_list/' debian/ruby-task-list/usr/share/rubygems-integration/all/specifications/task_list-${version}.gemspec