diff options
Diffstat (limited to 'chroot-scripts/pkg-builder.sh')
-rwxr-xr-x | chroot-scripts/pkg-builder.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chroot-scripts/pkg-builder.sh b/chroot-scripts/pkg-builder.sh index ec97343..56728d8 100755 --- a/chroot-scripts/pkg-builder.sh +++ b/chroot-scripts/pkg-builder.sh @@ -22,6 +22,7 @@ copyfileswithdependencies () { for FILE in $REQUIRED_BINARIES do + FILE=$(which $FILE) DIR=`dirname $FILE | cut -c2-` echo $DIR [ ! -d "$DIR" ] && mkdir -p "$DIR" |