hiddify.sh 251 Bytes
Newer Older
1 2 3 4 5 6 7 8
#!/bin/sh -x

# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"

. $(dirname $0)/common.sh

9 10 11
#remove garbage from version in spec
sed -i -e 's/^\(Version: [^+]*\)+.*/\1/' $SPEC

12 13 14 15
move_to_opt
add_bin_link_command

add_libs_requires