fix: corrected the shebangs for the installed scripts
This commit is contained in:
parent
55d812ea89
commit
974b13d6da
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
# !/usr/bin/env bash
|
||||||
rdlkf() { [ -L "$1" ] && (local lk="$(readlink "$1")"; local d="$(dirname "$1")"; cd "$d"; local l="$(rdlkf "$lk")"; ([[ "$l" = /* ]] && echo "$l" || echo "$d/$l")) || echo "$1"; }
|
rdlkf() { [ -L "$1" ] && (local lk="$(readlink "$1")"; local d="$(dirname "$1")"; cd "$d"; local l="$(rdlkf "$lk")"; ([[ "$l" = /* ]] && echo "$l" || echo "$d/$l")) || echo "$1"; }
|
||||||
DIR="$(dirname "$(rdlkf "$0")")"
|
DIR="$(dirname "$(rdlkf "$0")")"
|
||||||
exec /usr/bin/env node --harmony "$DIR/../lib/cli.js" "$@"
|
exec /usr/bin/env node --harmony "$DIR/../lib/cli.js" "$@"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
# !/usr/bin/env bash
|
||||||
rdlkf() { [ -L "$1" ] && (local lk="$(readlink "$1")"; local d="$(dirname "$1")"; cd "$d"; local l="$(rdlkf "$lk")"; ([[ "$l" = /* ]] && echo "$l" || echo "$d/$l")) || echo "$1"; }
|
rdlkf() { [ -L "$1" ] && (local lk="$(readlink "$1")"; local d="$(dirname "$1")"; cd "$d"; local l="$(rdlkf "$lk")"; ([[ "$l" = /* ]] && echo "$l" || echo "$d/$l")) || echo "$1"; }
|
||||||
DIR="$(dirname "$(rdlkf "$0")")"
|
DIR="$(dirname "$(rdlkf "$0")")"
|
||||||
exec /usr/bin/env node --harmony "$DIR/../lib/cli.js" count "$@"
|
exec /usr/bin/env node --harmony "$DIR/../lib/cli.js" count "$@"
|
||||||
|
|
Loading…
Reference in a new issue