This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| function ApplyChanges() { | |
| local files_to_patch=`diff -qr build/$PKG-$PKG_VERSION.orig build/$PKG-$PKG_VERSION.patch | cut -d' ' -f2 | cut -d/ -f3-` | |
| echo "Applying changes:" | |
| for f in $files_to_patch | |
| do | |
| echo -e "\t$f" | |
| cp -av build/$PKG-$PKG_VERSION.patch/$f build/$PKG-$PKG_VERSION/$f | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| DEFAULT_PIPE_NAME=".plumber" | |
| PIPE_NAME="${1:-$DEFAULT_PIPE_NAME}" | |
| if [ ! -p $PIPE_NAME ]; then | |
| echo "Created pipe ${PIPE_NAME}..." | |
| mkfifo $PIPE_NAME | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # a simple way to parse shell script arguments | |
| # | |
| # please edit and use to your hearts content | |
| # | |
| ENVIRONMENT="dev" |