File: testcode34.sh

package info (click to toggle)
debmake 5.1.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 696 kB
  • sloc: python: 2,175; sh: 238; makefile: 30
file content (18 lines) | stat: -rwxr-xr-x 415 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh -e
# check if debmake works as expected
# tar.gz with project-ver/ in tree debmake -x4
LC_ALL=C.UTF-8
export LC_ALL

# non-native source tree with tar.gz on side
PROJECT=foo-3.4
rm -f ${PROJECT}*.tar.?z
rm -rf ${PROJECT}
mkdir ${PROJECT}
echo "DUMMY ${PROJECT}" > ${PROJECT}/dummy-${PROJECT}
tar -cvzf ${PROJECT}.tar.gz ${PROJECT}
cd ${PROJECT} || exit 1
debmake -x4
test -x debian/rules
cd .. || exit 1