12 lines
150 B
Bash
Executable file
12 lines
150 B
Bash
Executable file
#!/bin/sh
|
|
|
|
PRODUCTS=$HOME/Products
|
|
|
|
SRCDIR=$(pwd)
|
|
BASE=$(basename "$SRCDIR")
|
|
|
|
OUTPUT="$PRODUCTS/$BASE"
|
|
|
|
if [ -d "$OUTPUT" ]; then
|
|
echo $OUTPUT
|
|
fi
|