blob: 058a7b709f17fe0f64f4be10ca63f9dc0791282d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
TARGET="$(pwd)"
if [ $# -eq 1 ]; then
TARGET=$1
fi
# check file path
PKG_SET=$(pwd | \
awk -F '/source/' '{print $2}' | \
awk -F '/' '{print $1}'
)
echo "$PKG_SET"
|