Comments (6)
@jhfrontz scripts/exec_with_gems
should exist (See https://github.com/niw/HapticKey/blob/master/scripts/exec_with_gems,) probably your working directory is not clean.
from haptickey.
@niw that's the weird thing-- it does exist:
$ find scripts -type f
scripts/pod
scripts/sparkle_appcast
scripts/exec_with_gems
If I run the pods
script directly:
$ bash -x scripts/pod install
+++ dirname scripts/pod
++ cd -P scripts
++ pwd
+ readonly 'current_dir=./scripts
/Users/jhf/stuff/HapticKey/scripts'
+ current_dir='./scripts
/Users/jhf/stuff/HapticKey/scripts'
+ exec './scripts
/Users/jhf/stuff/HapticKey/scripts/exec_with_gems' pod install
scripts/pod: line 5: /Users/jhf/stuff/HapticKey/scripts
/Users/jhf/stuff/HapticKey/scripts/exec_with_gems: No such file or directory
scripts/pod: line 5: exec: /Users/jhf/stuff/HapticKey/scripts
/Users/jhf/stuff/HapticKey/scripts/exec_with_gems: cannot execute: No such file or directory
Aha! I think it is this: https://github.com/devrandom/gitian-builder/pull/202/files#r249558443
(https://unix.stackexchange.com/questions/245453/how-to-not-show-path-after-cd-command-with-cdpath-set )
from haptickey.
From the cd
section of bash
man page:
If a non-empty directory name from CDPATH is used, or if - is the first argument, and the
directory change is successful, the absolute pathname of the new working directory is written
to the standard output.
from haptickey.
This allowed me to build/install:
$ diff --git a/scripts/pod b/scripts/pod
index 6a35105..61004af 100755
--- a/scripts/pod
+++ b/scripts/pod
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-readonly current_dir="$(cd -P "$(dirname "${BASH_SOURCE[0]}")"; pwd)"
+readonly current_dir="$(cd -P "$(dirname "${BASH_SOURCE[0]}")">/dev/null; pwd)"
exec "$current_dir/exec_with_gems" pod "$@"
from haptickey.
Ah, I see. That's unexpected. Let me fix the script, thanks!
from haptickey.
Fixed by 8fafbc6. Thanks!
from haptickey.
Related Issues (20)
- Build issue HOT 8
- No sound when enable sound effect HOT 6
- Any plans to make it a paid app on the app store? HOT 1
- HapticKey blocks Notification Centre Gesture (two fingers) on the Trackpad MB2019 16" HOT 9
- Special configuration for Terminal? HOT 5
- Can it cause damage to Haptic Engine? HOT 2
- 'ESC and F1, F2, etc. Keys' haptic setting doesn't do anything HOT 3
- HapticKey not working on MacBook Pro with M1 Chip HOT 7
- Haptics still not working with M1 MacBook Pro HOT 1
- Haptic Key macOS 11.1 compatibility HOT 3
- Release a new version? HOT 4
- Possible to limit area where haptics activate? HOT 1
- Does this work on a M1 Mac? HOT 4
- Does this work on M1 and Monterey? HOT 4
- Doesn't work with Magic Trackpad 2?
- Not Installing M1 Macbook Pro HOT 3
- Haptics don't work with MacOS Monterey HOT 8
- Please make Weak option truly weak (1 instead of 3)
- HapticKey does not Start on Login HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haptickey.