mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
improve bash script
quoting order of redirects
This commit is contained in:
parent
5145f5180d
commit
0c3f11bbc9
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
export CLASSPATH_FILE='cp.txt'
|
||||
mvn dependency:build-classpath -Dmdep.outputFile=${CLASSPATH_FILE} 2>&1 > /dev/null
|
||||
mvn dependency:build-classpath -Dmdep.outputFile=${CLASSPATH_FILE} > /dev/null 2>&1
|
||||
#~/Library/groovy-2.4.13/bin/groovy -cp src:`cat $CLASSPATH_FILE` createDocu
|
||||
groovy -cp src:`cat $CLASSPATH_FILE` createDocu $@
|
||||
groovy -cp "src:`cat $CLASSPATH_FILE`" createDocu "${@}"
|
||||
|
Loading…
Reference in New Issue
Block a user