Skip to content

Commit

Permalink
added packagize file to prepare each package
Browse files Browse the repository at this point in the history
  • Loading branch information
Hadis-Fard committed Nov 23, 2016
1 parent ddecddd commit 5829dd8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions source/packagize.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
if [ "$1" == "" ]; then
cp -rf $PWD/shared $PWD/sqlsrv
cp -rf $PWD/shared $PWD/pdo_sqlsrv
else
[[ -d $1 ]] || { echo "No such path!"; exit 1; }
cp -rf $PWD/sqlsrv $1
cp -rf $PWD/pdo_sqlsrv $1
cp -rf $PWD/shared $1/sqlsrv
cp -rf $PWD/shared $1/pdo_sqlsrv
fi

0 comments on commit 5829dd8

Please sign in to comment.