Revisió fe9c0dc0
Afegit per Pau Escrich fa aproximadament 12 anys
scripts/enable_readline_lua.script | ||
---|---|---|
#!/bin/bash
|
||
# This scripts enables readline suport for LUA comandline console
|
||
# It creates some extra dependences but it is useful for testing
|
||
# Arrow keys can be used for instance
|
||
|
||
TARGETS="alix"
|
||
|
||
[ "$1" != "POST_BUILD" ] && exit 0
|
||
|
||
shift
|
||
TARGET="$1"
|
||
|
||
[ -z "$TARGET" ] || [ ! -d "build/$TARGET" ] && exit 1
|
||
[[ "$TARGETS" =~ "$TARGET" ]] || exit 2
|
||
|
||
rm -f build/$TARGET/package/lua/patches/100-no_readline.patch
|
scripts/enable_readline_lua.script.disabled | ||
---|---|---|
#!/bin/bash
|
||
# This scripts enables readline suport for LUA comandline console
|
||
# It creates some extra dependences but it is useful for testing
|
||
# Arrow keys can be used for instance
|
||
|
||
TARGETS="alix"
|
||
|
||
[ "$1" != "POST_BUILD" ] && exit 0
|
||
|
||
shift
|
||
TARGET="$1"
|
||
|
||
[ -z "$TARGET" ] || [ ! -d "build/$TARGET" ] && exit 1
|
||
[[ "$TARGETS" =~ "$TARGET" ]] || exit 2
|
||
|
||
rm -f build/$TARGET/package/lua/patches/100-no_readline.patch
|
També disponible a: Unified diff
Dissabled readline-lua script