Skip to content

Commit 77a24aa

Browse files
author
psadi
committed
fix: handle upstream version blob for tip builds
1 parent 42eb9b2 commit 77a24aa

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

build.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
set -e
3+
set -eux
44

55
export ARCH="$(uname -m)"
66
export APPIMAGE_EXTRACT_AND_RUN=1
@@ -47,6 +47,10 @@ tar -xzmf "ghostty-${GHOSTTY_VERSION}.tar.gz"
4747

4848
rm "ghostty-${GHOSTTY_VERSION}.tar.gz"
4949

50+
if [ $GHOSTTY_VERSION == 'tip' ]; then
51+
mv ghostty-* ghostty-source
52+
fi
53+
5054
cd "${TMP_DIR}/${BUILD_DIR}"
5155

5256
#Fetch Zig Cache
@@ -56,8 +60,6 @@ if [ -f './nix/build-support/fetch-zig-cache.sh' ]; then
5660
fi
5761

5862
# Build Ghostty with zig
59-
echo "BUILD_ARGS: >-"
60-
echo "${BUILD_ARGS}" | xargs -n 2 | sed 's/^/\t/'
6163
zig build ${BUILD_ARGS}
6264

6365
# Prepare AppImage -- Configure launcher script, metainfo and desktop file with icon.

setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
set -ex
3+
set -eux
44

55
get_latest_gh_release() {
66

0 commit comments

Comments
 (0)