1
0
Fork 0
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:
Bumsik Kim 2018-06-18 03:11:21 -04:00
parent 7ebe935805
commit d1563d14bc
No known key found for this signature in database
GPG key ID: E31041C8EC5B01C6
6 changed files with 30 additions and 26 deletions

View file

@ -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

View file

@ -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'