From 3f134896f88ab7a4ecf69f21543f507cd4deb930 Mon Sep 17 00:00:00 2001 From: Kevin K Date: Wed, 25 Mar 2015 17:05:47 -0400 Subject: [PATCH] Changed cargo placeholder format of claptests --- claptests/Cargo.toml | 4 ++-- claptests/Makefile | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/claptests/Cargo.toml b/claptests/Cargo.toml index 6b6d60c8..66ee4e1b 100644 --- a/claptests/Cargo.toml +++ b/claptests/Cargo.toml @@ -5,5 +5,5 @@ version = "0.0.1" authors = ["Kevin K. "] [dependencies.clap] -git = "$FORK" -branch = "$BRANCH" +#GIT +#BRANCH \ No newline at end of file diff --git a/claptests/Makefile b/claptests/Makefile index 17c958e6..5e9ee92d 100644 --- a/claptests/Makefile +++ b/claptests/Makefile @@ -10,11 +10,11 @@ test: cp Cargo.toml cargo.bak read -p "fork url: " FORK read -p "branch [master]: " BRANCH - sed -e "s/\$FORK/$FORK" cargo.bak > Cargo.toml + sed -e "s/^\#FORK/$FORK" cargo.bak > Cargo.toml if [ "$BRANCH" == "" ]; then - sed -i "s/\$BRANCH/master/" Cargo.toml + sed -i "s/^\#BRANCH/master/" Cargo.toml else - sed -i "s/\$BRNACH/$BRANCH/" Cargo.toml + sed -i "s/^\#BRNACH/$BRANCH/" Cargo.toml fi (make clean) || (make clean && false) (make build) || (make clean && false)