Skip to content

Commit

Permalink
Change the p4 cache folder to start with a dot.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamv authored and appsforartists committed Sep 3, 2011
1 parent d4ab765 commit 48eb7e0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Commands/Offline Add to Depot.plist
Expand Up @@ -9,7 +9,7 @@
# (presumably when access to Perforce is restored)
# now record the file
mkdir -p "$HOME/P4Cache"
mkdir -p "$HOME/.P4Cache"
echo "$TM_FILEPATH" >> "$HOME/P4Cache/OfflineAdds.txt";
</string>
<key>input</key>
Expand Down
2 changes: 1 addition & 1 deletion Commands/Offline Open For Editing.plist
Expand Up @@ -13,7 +13,7 @@ chmod +r "$TM_FILEPATH"
/Developer/Tools/SetFile -a l "$TM_FILEPATH"
# now record the file
mkdir -p "$HOME/P4Cache"
mkdir -p "$HOME/.P4Cache"
echo "$TM_FILEPATH" &gt;&gt; "$HOME/P4Cache/OfflineEdits.txt";
</string>
<key>input</key>
Expand Down
4 changes: 2 additions & 2 deletions Commands/Offline Process Edits.plist
Expand Up @@ -8,12 +8,12 @@
<string>
# if we have offline edits, send them now (assumes we're actually online again)
if [[ -e "$HOME/P4Cache/OfflineEdits.txt" ]]; then
"$TM_P4" -x "$HOME/P4Cache/OfflineEdits.txt" edit &amp;&amp; rm "$HOME/P4Cache/OfflineEdits.txt"
"$TM_P4" -x "$HOME/.P4Cache/OfflineEdits.txt" edit &amp;&amp; rm "$HOME/P4Cache/OfflineEdits.txt"
fi
# if we have offline adds, send them now (assumes we're actually online again)
if [ -e "$HOME/P4Cache/OfflineAdds.txt" ]; then
"$TM_P4" -x add "$HOME/P4Cache/OfflineAdds.txt" &amp;&amp; rm "$HOME/P4Cache/OfflineAdds.txt"
"$TM_P4" -x add "$HOME/.P4Cache/OfflineAdds.txt" &amp;&amp; rm "$HOME/P4Cache/OfflineAdds.txt"
fi
</string>
<key>input</key>
Expand Down

0 comments on commit 48eb7e0

Please sign in to comment.