Skip to content

Commit ecc69be

Browse files
committed
scripts: review deploy-clojars
1 parent f62fc0f commit ecc69be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/deploy-clojars.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fi
1515

1616
./scripts/list-jar.sh "$LIB_PROFILES"
1717

18-
LEIN_VERSION=`cat "$PROJECT_FILE" | grep "defproject" | cut -d' ' -f3 | cut -d\" -f2`
18+
LEIN_VERSION=$(grep "defproject" <"$PROJECT_FILE" | cut -d' ' -f3 | cut -d\" -f2)
1919

2020
# http://stackoverflow.com/a/1885534/84283
2121
echo "Are you sure to publish version ${LEIN_VERSION}? [Yy]"

0 commit comments

Comments
 (0)