uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
20
pkgs/applications/office/atlassian-cli/wrapper.sh
Executable file
20
pkgs/applications/office/atlassian-cli/wrapper.sh
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
|
||||
tool=@tool@
|
||||
user=ATLASSIAN_${tool^^}_USER
|
||||
host=ATLASSIAN_${tool^^}_HOST
|
||||
pass=ATLASSIAN_${tool^^}_PASS
|
||||
|
||||
[ -f ~/.atlassian-cli ] && source ~/.atlassian-cli
|
||||
if [ x = ${!user-x} ] || [ x = ${!host-x} ] || [ x = ${!pass-x} ]
|
||||
then
|
||||
>&2 echo please define $user, $host, and $pass in '~/.atlassian-cli'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@jre@/bin/java \
|
||||
-jar @out@/share/java/@tool@-cli-* \
|
||||
--server "${!host}" \
|
||||
--user "${!user}" \
|
||||
--password "${!pass}" \
|
||||
"$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue