aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/common-obs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/common-obs.sh')
-rw-r--r--scripts/common-obs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/common-obs.sh b/scripts/common-obs.sh
index b6be98c..38719c8 100644
--- a/scripts/common-obs.sh
+++ b/scripts/common-obs.sh
@@ -139,7 +139,7 @@ osmo_obs_add_rpm_spec() {
fi
# Set source file
- tarball="$(ls -1 "${name}_"*".tar."*)"
+ tarball="$(cd "$oscdir" && ls -1 "${name}_"*".tar."*)"
sed -i "s/^Source:.*/Source: $tarball/g" "$spec"
osc add "$spec"