Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
dmalan committed Jan 18, 2024
1 parent 22a873b commit bbaa372
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions etc/profile.d/help50.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function _help50 () {
# Append to history right away
history -a

# Parse command
# Parse command line in case we want ${argv[0]}
read -a argv <<< $(history 1 | cut -c 8-)

# If no typescript yet
Expand Down Expand Up @@ -83,10 +83,6 @@ function _help50 () {
elif [[ $status -ne 0 ]]; then # If helpless
_helpless "$text"
fi

# TEMP
echo "TEXT: $typescript" >> "$SCRIPT.log"
echo "---" >> "$SCRIPT.log"
fi

# Truncate typescript
Expand Down
2 changes: 1 addition & 1 deletion opt/cs50/lib/help50/make
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [[ "$output" =~ $regex ]]; then

# If target is a directory
if [[ -d "${BASH_REMATCH[1]}" ]]; then
echo "Cannot run \`make\` on a directory. Did you mean to \`cd ${1}\` first?"
echo "Cannot run \`make\` on a directory. Did you mean to \`cd ${BASH_REMATCH[1]}\` first?"
exit
fi

Expand Down

0 comments on commit bbaa372

Please sign in to comment.