Skip to content

Commit cb8109d

Browse files
authored
default to placing static bins in ./AppDir/bin
1 parent 9ffc2db commit cb8109d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

useful-tools/quick-sharun.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1179,9 +1179,10 @@ _patch_away_usr_share_dir() {
11791179
}
11801180

11811181
_make_static_bin() (
1182+
DST_DIR="$APPDIR"/bin
11821183
while :; do case "$1" in
11831184
--dst-dir)
1184-
export DST_DIR="$2"
1185+
DST_DIR="$2"
11851186
shift
11861187
;;
11871188
-*)
@@ -1203,6 +1204,7 @@ _make_static_bin() (
12031204
IFS=$_IFS
12041205
_echo "------------------------------------------------------------"
12051206
mkdir -p "$DST_DIR"
1207+
export DST_DIR
12061208
for b do
12071209
_echo "Packing $b as a static binary..."
12081210
$XVFB_CMD "$TMPDIR"/sharun-aio l \

0 commit comments

Comments
 (0)