Skip to content

Commit c77c5c4

Browse files
committed
ls depth
1 parent 4e5a5b4 commit c77c5c4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

apothecary/formulas/videoInput.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,17 +107,20 @@ function build() {
107107
-DCMAKE_SYSTEM_PROCESSOR=${ARCH}
108108

109109
cmake --build . --config Release
110+
cd ..
110111
fi
111112

112113
# List all files in the build directory
113114
echo "Listing all files in build directory:"
114-
ls -a "videoInputSrcAndDemos/build_${TYPE}_${ARCH}"
115+
ls -a "build_${TYPE}_${ARCH}"
115116

116117
# List all files in the Release directory if it exists
117-
if [ -d "videoInputSrcAndDemos/build_${TYPE}_${ARCH}/Release" ]; then
118+
if [ -d "build_${TYPE}_${ARCH}/Release" ]; then
118119
echo "Listing all files in Release directory:"
119-
ls -a "videoInputSrcAndDemos/build_${TYPE}_${ARCH}/Release"
120+
ls -a "build_${TYPE}_${ARCH}/Release"
120121
fi
122+
123+
cd ..
121124
}
122125

123126
# executed inside the lib src dir, first arg $1 is the dest libs dir root

0 commit comments

Comments
 (0)