Skip to content

Commit adc9b6e

Browse files
committed
fix: stop overriding blueprint debug >:( (also fix dev commands)
1 parent 8095066 commit adc9b6e

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/commands/advanced/upgrade.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Command() {
105105
PRINT DEBUG "\$1 was NOT 'remote' (it was '$1')"
106106
PRINT INFO "Fetching version info"
107107

108-
php artisan bp:version:cache 2> "$BLUEPRINT__DEBUG"
108+
php artisan bp:version:cache 2>> "$BLUEPRINT__DEBUG"
109109
tag_latest=$(php artisan bp:version:latest)
110110
PRINT DEBUG "tag_latest is $tag_latest"
111111

scripts/commands/extensions/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ InstallExtension() {
233233
((PROGRESS_NOW++))
234234

235235
if [[ $dev == true ]]; then
236-
mv ".blueprint/tmp" ".blueprint/tmp/$identifier"
236+
# why is this here
237237
n=$identifier
238238
fi
239239

scripts/libraries/lock.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ lock_create() {
1212
return 1
1313
fi
1414
if [ ! -f "$BLUEPRINT__FOLDER/.blueprint/lock" ]; then
15-
touch "$BLUEPRINT__FOLDER/.blueprint/lock" &> "$BLUEPRINT__DEBUG"
15+
touch "$BLUEPRINT__FOLDER/.blueprint/lock" &>> "$BLUEPRINT__DEBUG"
1616
if [ -f "$BLUEPRINT__FOLDER/.blueprint/lock" ]; then
1717
PRINT DEBUG "(lock.sh) lockfile created"
1818
return 0
@@ -41,7 +41,7 @@ lock_remove() {
4141
return 1
4242
fi
4343

44-
rm "$BLUEPRINT__FOLDER/.blueprint/lock" &> "$BLUEPRINT__DEBUG"
44+
rm "$BLUEPRINT__FOLDER/.blueprint/lock" &>> "$BLUEPRINT__DEBUG"
4545

4646
if [ -f "$BLUEPRINT__FOLDER/.blueprint/lock" ]; then
4747
PRINT DEBUG "(lock.sh) Lockfile unlock attempted, did not succeed"

0 commit comments

Comments
 (0)