mirror of
https://github.com/kbumsik/VirtScreen.git
synced 2025-03-09 15:40:18 +00:00
Travis: Fixed bash interpreter
This commit is contained in:
parent
7ebe935805
commit
d1563d14bc
6 changed files with 30 additions and 26 deletions
|
@ -4,8 +4,8 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|||
source $DIR/_common.sh
|
||||
|
||||
if [ $1 = "virtualenv" ]; then
|
||||
cp $DIR/control.virtualenv $DIR/build/virtscreen-$PKGVER/debian/control
|
||||
cp $DIR/README.Debian $DIR/build/virtscreen-$PKGVER/debian/
|
||||
cp -f $DIR/control.virtualenv $DIR/build/virtscreen-$PKGVER/debian/control
|
||||
cp -f $DIR/README.Debian $DIR/build/virtscreen-$PKGVER/debian/
|
||||
else
|
||||
cp $DIR/{control,rules,README.Debian} $DIR/build/virtscreen-$PKGVER/debian
|
||||
cp -f $DIR/{control,rules,README.Debian} $DIR/build/virtscreen-$PKGVER/debian
|
||||
fi
|
||||
|
|
|
@ -5,7 +5,7 @@ source _common.sh
|
|||
mkdir build
|
||||
cd build
|
||||
# Download
|
||||
wget https://github.com/kbumsik/VirtScreen/archive/$PKGVER.tar.gz
|
||||
wget -q https://github.com/kbumsik/VirtScreen/archive/$PKGVER.tar.gz
|
||||
tar -xzmf $PKGVER.tar.gz
|
||||
# rename packages
|
||||
mv VirtScreen-$PKGVER virtscreen-$PKGVER
|
||||
|
@ -13,7 +13,7 @@ mv $PKGVER.tar.gz virtscreen-$PKGVER.tar.gz
|
|||
|
||||
cd virtscreen-$PKGVER
|
||||
if [ $1 = "virtualenv" ]; then
|
||||
cp ../../Makefile.virtualenv Makefile
|
||||
cp -f ../../Makefile.virtualenv Makefile
|
||||
debmake -b':sh'
|
||||
else
|
||||
debmake -b':py3'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue